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 16–30 of 57 · Page 2 of 4
why06
why06
Quote Originally Posted by lalakijilp View Post
C++ Beginner's Guide

maybe an idea to say it is alot of work
I added it.
I didn't even bother to add C++ in 21 days. Personally I think that tutorial sucks... =/
#16 · 16y ago
MA
Marsicano
A good tip to be here:

Buy a notebook (not a PC, a notebook, that thing you use to write with pen or pencial at college... lol) and write what you think it's essencial, it will help.
#17 · 16y ago
AL
alerto24
sir
can i ask you how can i edit a dll file? sorry for my noob question
#18 · 16y ago
ZE
zeco
Quote Originally Posted by alerto24 View Post
can i ask you how can i edit a dll file? sorry for my noob question
Basically You can't. You could disassemble using IDA Pro/OllYDbg or the like, but that is quite complicated and not something you'd be doing in a day, depending of course on the complexity of the DLL. Knowledge of assembly is needed. Basically you aren't editing the DLL, but rather remaking it :/
#19 · 16y ago
=Advocate=
=Advocate=
C primer edition 5 is good but for some reason everything I try in there closes its self
before I can complete for example:


// getinfo.cpp -- input and output
#include <iostream>
int main()
{
using namespace std;
int carrots;
cout << “How many carrots do you have?” << endl;
cin >> carrots; // C++ input
cout << “Here are two more. “;
carrots = carrots + 2;
// the next line concatenates output
cout << “Now you have “ << carrots << “ carrots.” << endl;
return 0;
}

Right after I type how may carrots it closes,
I even tried adding cin.get(); still happens though any ideas?
#20 · 16y ago
LA
lalakijilp
Quote Originally Posted by =Advocate= View Post
C primer edition 5 is good but for some reason everything I try in there closes its self
before I can complete for example:


// getinfo.cpp -- input and output
#include <iostream>
int main()
{
using namespace std;
int carrots;
cout << “How many carrots do you have?” << endl;
cin >> carrots; // C++ input
cout << “Here are two more. “;
carrots = carrots + 2;
// the next line concatenates output
cout << “Now you have “ << carrots << “ carrots.” << endl;
return 0;
}

Right after I type how may carrots it closes,
I even tried adding cin.get(); still happens though any ideas?
did you put cin. get () just before return 0;?
#21 · 16y ago
=Advocate=
=Advocate=
Yes I did.

I did it like this:

#include <isostream>
int main()
{
usingnamespace std;
int carrots;
cout <<"how many carrots do you have?" <<endl; I like \n better :O
cin >> carrots + 2;
cout << "Now you have " << carrots << " carrots." <<endl;
cin.get();
return 0;
}
#22 · edited 16y ago · 16y ago
LA
lalakijilp
using namespace std; should be right after #include iostream and not in int main maybe that is the problem
#23 · 16y ago
=Advocate=
=Advocate=
Hmm even though i changed it it still happends.
#24 · 16y ago
LA
lalakijilp
Quote Originally Posted by =Advocate= View Post
Hmm even though i changed it it still happends.
post the exact same source code you are compiling
#25 · 16y ago
=Advocate=
=Advocate=
Keep in mind I'm using Visual C++ 2008 Express Edition.

#include "stdafx.h"
#include <iostream>

using namespace std;
int main()
{
int carrots;
cout << "How many carrots do you have?" << endl;
cin >> carrots;
cout << "Here are two more. ";
carrots = carrots + 2;
cout << "Now you have " << carrots << " carrots." << endl;
cin.get();
return 0;
}
#26 · edited 16y ago · 16y ago
why06
why06
Quote Originally Posted by =Advocate= View Post
Keep in mind I'm using Visual C++ 2008 Express Edition.

#include "stdafx.h"
#include <iostream>

using namespace std;
int main()
{
int carrots;
cout << "How many carrots do you have?" << endl;
cin >> carrots;
cout << "Here are two more. ";
carrots = carrots + 2;
cout << "Now you have " << carrots << " carrots." << endl;
cin.get();
return 0;
}
occasionally I get these problems too. I think it happens when I run Google Desktop in the background. This is why I just use system("pause"); instead of cin.get();
#27 · 16y ago
ZE
zeco
If one cin.get() doesn't work sometimes you need 2. I believe the book outlined things like this near the beginning. And the namespace doesn't have to be under #include, especially in a single function program Like this.
#28 · 16y ago
=Advocate=
=Advocate=
Quote Originally Posted by why06 View Post
occasionally I get these problems too. I think it happens when I run Google Desktop in the background. This is why I just use system("pause"); instead of cin.get();
You Sir saved me system("pause"); worked perfectly!
#29 · 16y ago
KA
Katbox
DON'T USE system("pause);
It's not always the greatest choice, as sometimes it refuses to work.
Instead, use cin.get(); twice like this

cin.get();
cin.get();
#30 · 16y ago
Posts 16–30 of 57 · Page 2 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