Where to start? (learning c++)

Posts 1–9 of 9 · Page 1 of 1
Where to start? (learning c++)
Hi I just made an account on this forum. I am trying to learn c++ I am about halfway through the one book i have about c++ and at this point i think i just need to learn by practicing. I decided to try game hacking. Anyone can link me to a tutorial for the basics of game hacking with c++?. Keep in mind I have barely any experience with c++ so nothing too complicated.

Thanks
Quote Originally Posted by Biesi View Post
Start with pointers
Thank you for this info!!
This is late but buy a book.
Quote Originally Posted by chiken_chiken View Post
Hi I just made an account on this forum. I am trying to learn c++ I am about halfway through the one book i have about c++ and at this point i think i just need to learn by practicing. I decided to try game hacking. Anyone can link me to a tutorial for the basics of game hacking with c++?. Keep in mind I have barely any experience with c++ so nothing too complicated.

Thanks
If you want to learn about gamehacking, maybe its good to start making some cheats for offline games without using c++. Something like Cheat Engine. It gives you a good idea on what gamehacking actually is. Memory editing, hooking, calling functions. You get an idea of what is actually going on. Then you can focus on how to write those things in C++!
First I started with pascal and later on I started learning C++, but if you want to get into c++ faster than me better is to skip pascal ofc xD (nobody uses it lol).
I am not able to post you a link here but... just google it - tutorialspoint c++; tutorialspoint is a website where you have a lot of programe languages and you can learn them there, also explanations are really good there.
And yes you need practise to 'get into it' because with practise you 'learn how to think', how to write smaller, faster code etc. you can also google some workbooks for c++ online.
The two disciplines, game hacking and programming, are separate learning experiences. Once you are proficient with C++ and thoroughly understand game hacking, then combining the two will be very straight forward.

The trainer/hack you create for a game is basically a library of files that you create that interacts with the game's process. I cannot stress enough how important it is to learn about concurrency and multi-threading. Many hacks are released with piss poor programming underneath it all and it definitely shows.


Quote Originally Posted by Sammy View Post
maybe its good to start making some cheats for offline games without using c++
This was a good suggestion. Start with simple games and work your way up to the more complicated games.

I have a question for you, why C++ ? I'm just curious as to how to selected that particular language.
Sorry to break it to you, but starting with game hacking is not going to get you anywhere.
I know this is a little late to post here but I'd say simply start with the very basics, Like hello world.

If you succeeded there, start learning if statements.

Yes this will take alot of time, but starting of this way will definitely learn you the language.

As nice as I am, i thought I'd make a example for you on if statements, try to figure out how this works .

Here is the example (remove spaces): http : / / imgur . com / 3zQ7w0D

- - - Updated - - -

Quote Originally Posted by twas brillig View Post
I have a question for you, why C++ ? I'm just curious as to how to selected that particular language.
C++ is simply the strongest language for game hacking.
You should first of all start hacking offline games to practice.
Start by using Cheat Engine to get some addresses, move on to c++ to learn memory editing.
Start with making a console hack, then moving on dll's.
Also, for some multiplayer games, ASM (Assembly) may be needed for reversing the game.
Good luck, by the way!
Posts 1–9 of 9 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?