Best way to learn hooking/injection and general low level interaction via /r/learnprogramming


Best way to learn hooking/injection and general low level interaction

I've been learning the basics of c++ for a couple months but I saw this guy do this injection which would change one of his programs integer that would output in a loop. So my question is, is where do I learn hooking and injections and all that stuff?

Submitted December 31, 2015 at 06:49PM by MaGirlDooger
via reddit http://ift.tt/1YSbXIT

I need help creating a feature for a website. via /r/learnprogramming


I need help creating a feature for a website.

I've been working on my website for a while now. I have this page dedicated to projects I'm working on and have done. Pretty much what I've been trying to do is have a sun in the center of the screen and planets orbit it. Each planet will represent a project and rotates around the sun. When you click on the planet I want it to redirect you to that project page and when you hover over it have a little box with a picture and a description show. I've been trying to use javascript and I can only get it so far with that and make it so good. Does anyone have any recommendations?

Submitted December 31, 2015 at 06:23PM by Tommy_Boi99
via reddit http://ift.tt/22Bg8rY

Can someone explain why people rather choose C++, C or even Rust over other higher level language for performance? via /r/learnprogramming


Can someone explain why people rather choose C++, C or even Rust over other higher level language for performance?

What is the fundamental difference between the two? For example if I were to code a datastructure with known complexity bound would I observe a difference in performance? Where is this performance difference coming from? Why couldn't higher level language overcome the difference?

Submitted December 31, 2015 at 06:30PM by synonym2
via reddit http://ift.tt/1PzNaUi

Help with C Programming – Beginner String Manipulation via /r/learnprogramming


Help with C Programming – Beginner String Manipulation

Help guys! I am trying to copy a string cumulatively, starting with the first character until the last character and printing each iteration on a new line.

For example: if the input is: "ab cc "

I am expecting this to be the output:

"a"

"ab"

"ab "

"ab c"

"ab cc"

"ab cc "

However, for some reason, '@' appears in the output of a few lines sometimes.

For example: if my string input is: "please help me !"

Here is what prints to my screen:

"p"

"pl"

"ple"

"plea"

"pleas"

"please"

"please"

"please h@"

"please he@"

"please hel@"

"please help"

"please help"

"please help m"

"please help me"

"please help me"

"please help me !"

What am I doing wrong? Here is my code:

int main() {

char primary[30] = "please help me !"; //Input String char *p = primary; char tmp[30]; //Cumulated String char *t = tmp; while(p - primary != (int)strlen(primary)){ memcpy(t, p, 1); //Move 1 char to cumulated string t++; p++; printf("%s\n", tmp); } return 0; 

}


Submitted December 31, 2015 at 05:49PM by JumpRunCatch
via reddit http://ift.tt/1MJDAYz

How do I know whether I should be using a server- or client-side web app framework? via /r/learnprogramming


How do I know whether I should be using a server- or client-side web app framework?

I guess I'm just confused on what exactly server vs client means, and knowing what to use when making webapps. For example, if I wanted to create a webapp where users can make an account and link their social medias, and the webapp aggregates the feeds, what would I use?

Thanks!

Submitted December 31, 2015 at 05:35PM by notkimchi
via reddit http://ift.tt/1MJBszS