Skip to content
MPGHThe Dark Arts
/
RegisterLog in
Forum
Community
What's NewLatest posts across the boardTrendingHottest threads right nowSubscribedThreads you follow
Discussion
GeneralIntroductionsEntertainmentDebate FortFlaming & Rage
Board
News & AnnouncementsMPGH TimesSuggestions & HelpGiveaways
More Sections
Art & Graphic DesignProgrammingHackingCryptocurrency
Hacks & Cheats
Games
ValorantCS2 / CS:GOCall of Duty / WarzoneFortniteApex LegendsEscape From Tarkov
+14 moreLeague of LegendsGTA VMinecraftRustROTMGBattlefieldTroveBattleOnCombat ArmsCrossFireBlackshotRuneScapeDayZDead by Daylight
Resources
Game Hacking TutorialsReverse EngineeringGeneral Game HackingAnti-CheatConsole Game Hacking
Tools
Game Hacking ToolsTrainers & CheatsHack/Release NewsNew
Submit a release →Share your cheat, tool, or config with the community.
AINEW
AI Tools
General & DiscussionPrompt EngineeringLLM JailbreaksHotAI Agents & AutomationLocal / Open Models
AI × Gaming
AI Aimbots & VisionML Anti-CheatGame Bots & Automation
Create
AI Coding / Vibe CodingAI Art & MediaAI Voice & TTS
The AI frontier →Where game hacking meets modern machine learning. Jump in.
Marketplace
Buy & Sell
SellingBuyingTradingUser Services
Trust & Safety
Middleman LoungeMarketplace TalkVouch Copy Profiles
Money
Cryptocurrency TalkCurrency ExchangeWork & Job Offers
Start selling →List accounts, services, and goods. Use the middleman to trade safe.
MPGH The Dark Arts

A community for offensive security research, reverse engineering, and AI.

Community

ForumMarketplaceSearch

Account

RegisterLog in

Legal

Privacy PolicyForum RulesHelp & FAQ
© 2026 MPGH · All rights reserved.Built by the community, for the community. For educational purposes onlyContent is shared for security research and education — we don't condone illegal use. You're responsible for complying with applicable laws. Use at your own risk.
Home › Forum › Programming › Programming Tutorials › Beginning C++

Beginning C++

Posts 1–15 of 57 · Page 1 of 4
radnomguywfq3
radnomguywfq3
Beginning C++
Learn C++
Beginner's Quick Start Guide


Index:
  1. Introduction
  2. Why Learn C++?
  3. What you'll need
  4. About the forum
  5. What's next?


Introduction:
Do you want to learn C++, but have no idea where to start, well this guide is for you. If you also are simply looking for beginner level guides, tutorials, books, etc. this guide might be able to help you as well. It is my hope that by the end of this guide any newcomers will have a good idea of what to learn and how to get started.



Why Learn C++?
As many of you probably already know, this is a gamehacking forum, so you are most likely here to learn how to create gamehacks. Well in that case it is well known that most gamehacks are coded in C++. It should come as no surprise to you that one of the best languages to code gamehacks is the very same language used to program the games you want to hack. (surprise... surprise) If you don't understand what programming is or what a programming language is then consult the FAQ. If at anytime you don't understand a concept there will most likely be a FAQ to help you. If not just post a question and one of the more experienced members should help you out.

What you'll need:
  • Compilers
    • Visual Studios 2008 Express The free version of Visual Studios, this compiler is capable of handling large projects very easily, as well as importing a variety of SDK's, it contains so many features it would be impossible to list them all. I wouldn't recommend using this compiler when first learning C++, because learning just how to use VS could interfere with learning C++. However there are a few who start off with this compiler right away. If you decide to go ahead and start off with VS it will keep you from having to learn how to use VS later on, like I am having to do now. In the end every programmer advances to VS, whether you want to jump right in or simply wait to learn the basics first is just a style preference.
    • Dev-C++ A very simple IDE to start off with. It's good for beginners. It allow your to quicky test codes right away without having to worry about to many elaborate features.
    • Other: Code::Blocks, Eclipse C/C++
  • Books
    • Amazon.com: C++ Primer Plus (5th Edition): Stephen Prata: Books
    • Amazon.com: C++: A Beginner's Guide, Second Edition (0783254043275): Herbert Schildt: Books

  • Online Tutorials/ebooks
    • C++ Language Tutorial
    • C++ Beginner's Guide
    • C++ - Free computer books
    • 60 C++ Video Tutorials
    • BluePortal.com This site is a bitch to navigate through, but if you look it has tons of free stuff.
  • Useful links
    • MSDN- Pretty much the only link you'll ever need.

About the Forum:
Before you go posting you should know that this is a learning and development forum. This forum is meant as a launch pad to give people with no experience gamehacking the appropriate knowledge to be a successful gamehacker. It is NOT meant to help copy&pasters fix or tinker with pre-built hacks of which they might have no understanding of how they work. WarRock hacks are especially bad because the same source code is simply reused over and over again. This forum is here so that newcomers to the world of gamehacking can learn how to construct and build their own hacks from scratch. It will be very difficult to do this if your using a crutch such as prebuilt code. Many people are just tempted to just jump ahead and build a hack and skip all the intermediate stuff which will leave huge gaps in their knowledge, and those who skip will always end up depending on others' code because they won't have the knowledge to construct their own code.
What this forum is meant to do is help new gamehackers learn and develop the appropriate knowledge to begin gamehacking and then hone these skills. If you really have a desire to learn the art of gamehacking then you will find this forum a great resource to help you grow and develop.



What's Next?

Once you learn all the basic concepts of C++(classes, pointers, virtual function, etc.) it's time to move on to some cool stuff. But make sure you learn the basics first. If you skip over this it's going to come back and bite you in the... well just trust me you NEED to know the basics first. Once you have completed the basics you can move on to DirectX, and some basic Windows API. There is more information here in the Intermediate Concepts of Game Hacking.


I and other GMODs & Moderators & Minions will append to this list at later time.
#1 · edited 16y ago · 17y ago
Lolland
Lolland
[TUT] Download C++ tut here. Amazing!
This is an amazing C++ guide, that claims to teach it to you in 21 days. (It doesnt, It has 21 lessons, and it requires alot of time)

I use dev C++ for it, and its great.

If any questions about basic dev programming feel free to ask.

Sticky this please?

Screenshot:

Thanks if I helped you!
#2 · 17y ago
GG2GG
GG2GG
its avaible online in many places, so no need to download, and josh i saw your question on irc, the best thing to use is visual studio 2008 pro, people only say 6 is better as they prefer it because they have used it longer, if you havent got an opinion vs08 pro is the one to use.
#3 · 17y ago
Lolland
Lolland
Dude I posted a tutorial. Read it. lol
#4 · 17y ago
Sharpe
Sharpe
What should I buy?
Hi, I would like to learn about hacking/programing code and how to make hacks etc. I am thinking about getting 'C++ for dummies' but I am not sure that that will be the right book. Will learning C++ allow me to make hacks like chams, wallhack, no spread and others for online games such as WarRock and Combat Arms like MPGH offers? And if so, what book do you recomend. Thanks!

P.S. I am not a computer whiz by any stretch of the immagination. I don't know how to edit any of the .dll files or anything like that, do not know computer coding or anything like that but am open to learning them and have the time. If any of these skills are needed, please tell me. Thanks agian!
#5 · 17y ago
GOD
GOD
buy?

download free using torrent :P!

or there are alot of sites with c++ tuts
#6 · 17y ago
timtom59
timtom59
c++ im now learning
hi everyone i am new to c++ and i was wondering if any of you guys can help me out with useful tips to start me off i curently have visual studio installed and i dont know how to complie i need to know that atm i have created a code which i think will make a program just saying hello world i was refered to it by a book but the book is a bit mindbogglering so im just wondering if any of you experinced programers can help me out!! or i could be like a aprentice and you teach me the basics of c++ if not i will most likly give up and then go to java. please help me out!!!
#7 · 17y ago
radnomguywfq3
radnomguywfq3
Here are some Tips :
A. Get a book, don't try to learn it on your own.
B. Do not skip the part on pointers. Most beginners do. It is very important.
C. Devote at least 45%+ of your time to something programming related on school days. On weekends I devote no less then 85%.
D. Don't give up. Promise yourself this before you start.
#8 · 17y ago
CH
chiubyebye
Depends alot on how you wold dedicate your time to learning C++. C++ is not a simple language, it takes years to totally MASTER the language. However, if you want to know how much time you would need to make a decent hack, I would hazard a guess of 1-3 months. Thats if you really go and devote your time on this.

As you progress deeper into the language, it would be natural to you how each function would help you "hack" the game. Its just a matter of time and practice.
#9 · 17y ago
BL
blueduece2
http://www.mpgh.net/forum/31-c_c/497...ebook_pdf.html
#10 · 17y ago
Toymaker
Toymaker
I decided to make one more post I can refer all the people with horrific questions to. If you want to start learning programming, espeically C++, you need to set yourself a goal...

...for example, I only read the first four tutorials of cprogramming's collection over and over and was able to make multiple programs that weren't even in the tutorial...I'll give you guys an example, cuz im tired of 'how do i start!?' threads!

Pretend you read this File I/O TUTORIAL to learn:


#include <fstream>
#include <iostream>

using namespace std;

int main()
{
char str[10];

//Creates an instance of ofstream, and opens example.txt
ofstream a_file ( "example.txt" );
// Outputs to example.txt through a_file
a_file<<"This text will now be inside of example.txt";
// Close the file stream explicitly
a_file.close();
//Opens for reading the file
ifstream b_file ( "example.txt" );
//Reads one string from the file
b_file>> str;
//Should output 'this'
cout<< str <<"\n";
cin.get(); // wait for a keypress
// b_file is closed implicitly here
}

The default mode for opening a file with ofstream's constructor is to create it if it does not exist, or delete everything in it if something does exist in it. If necessary, you can give a second argument that specifies how the file should be handled. They are listed below:


ios::app -- Append to the file
ios::ate -- Set the current position to the end
ios::trunc -- Delete everything in the file

For example:


ofstream a_file ( "test.txt", ios::app );

This will open the file without destroying the current contents and allow you to append new data. When opening files, be very careful not to use them if the file could not be opened. This can be tested for very easily:


ifstream a_file ( "example.txt" );

if ( !a_file.is_open() ) {
// The file could not be opened
}
else {
// Safely use the file stream
}
Now, you read this tutorial on using C++ to write to and read from files. But, YOU DID NOT ACTUALLY LEARN IT, UNTIL YOU USE IT..

...Try applying it, for example, make a 'trial use' program. Have a counter.txt that you read/write to to only let your users load your program 5 times without paying money. That's a good goal. I'll show you how I made it using nothing but the information above ^

Code:
#include <fstream>
#include <iostream>

using namespace std;

int main()
{
  int x;

  //Opens for reading the file
  ifstream b_file ( "example.txt" );
  //Reads one string from the file
  b_file>> x; 
  if ( x > 5 ) { 
       cout<<"Maxed out!\n";
       system("pause");
       exit(0);
       } 
       else { 
          cout<<"Enjoy!\n";       
  //Creates an instance of ofstream, and opens example.txt
  ofstream a_file ( "example.txt" );
  // Outputs to example.txt through a_file based on current value+1
  x++;
  a_file<<""<< x <<"";
  // Close the file stream explicitly
  a_file.close();
  cin.get();    // wait for a keypress
  // b_file is closed implicitly here
}
}
Good luck learning and not bugging people so much with your stupidity xD
#11 · 17y ago
why06
why06
I changed somethings. I think this will make it a little easier for newcomers to get started. I tried to give as much information as I could without making a huge-ass list... I mean after all that's what the forum is for...


Lastly I am unlocking this thread. I think all stickies should be open to new ideas. this way in case a link ever stops working or someone thinks something should be added they have a place to post those concerns...

Lol. maybe for the first time on MPGH...
/opened
#12 · edited 16y ago · 16y ago
Lolland
Lolland
Whoa, I can see my past self.. this is trippy.
Thanks for the section btw.
#13 · 16y ago
Spike2009
Spike2009
Guys im going to try and learn this, i hope i can do it
#14 · 16y ago
LA
lalakijilp
C++ Beginner's Guide

maybe an idea to say it is alot of work
#15 · 16y ago
Posts 1–15 of 57 · Page 1 of 4

Post a Reply

Similar Threads

  • Begin hacking here.By tednugent in General Game Hacking
    0Last post 19y ago
  • [Tutorial]Make your first hack in Visual Basic 6 (and a begin in CE) (for noobs)By diamondo25 in Programming Tutorials
    28Last post 17y ago
  • Could help beginer C++ usersBy skittlznick2 in C++/C Programming
    7Last post 17y ago
  • why after use all hack until lv4 Beginning server cannot join again ??By undead02 in Operation 7 General
    8Last post 17y ago
  • New Patch... Let the games beginBy jebadiah in Combat Arms Hacks & Cheats
    5Last post 18y ago

Tags for this Thread

#beginning#guide#learn#starter