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 › C++/C Programming › Help with compiling?

Help with compiling?

Posts 1–15 of 16 · Page 1 of 2
AM
amassaia
Help with compiling?
I just started teaching my self c++ yesterday and i using Visual C++ Express Edition. When ever i try to compile the simpilest line of code i get the error

Code:
1>------ Build started: Project: firsttutorial, Configuration: Debug Win32 ------
1>Compiling...
1>firsttutorial.cpp
1>c:\users\anthony\documents\visual studio 2008\projects\firsttutorial\firsttutorial\firsttutorial.cpp(10) : error C2065: 'cout' : undeclared identifier
1>Build log was saved at "file://c:\Users\Anthony\Documents\Visual Studio 2008\Projects\firsttutorial\firsttutorial\Debug\BuildLog.htm"
1>firsttutorial - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
What am i doing wrong and is there a better compiler for me to be using?
#1 · 17y ago
zhaoyun333
zhaoyun333
Did you include the line :
Code:
using namespace std
but thats normal c++...your using VISUAL C++ so i might be wrong

Next time you have a problem with a compiling error, post the code.
#2 · 17y ago
AM
amassaia
Quote Originally Posted by zhaoyun333 View Post
Did you include the line :
Code:
using namespace std
but thats normal c++...your using VISUAL C++ so i might be wrong

Next time you have a problem with a compiling error, post the code.
Ok, can you just give me the name of a compiler that is code for beginners?
#3 · 17y ago
AM
amassaia
1>c:\users\anthony\documents\visual studio 2008\projects\firsttutorial\firsttutorial\firsttut orial.cpp(7) : error C2447: '{' : missing function header (old-style formal list?


What does that error mean?
#4 · 17y ago
Toymaker
Toymaker
Just paste your actual C++ here so I Can fix it for you =/
#5 · 17y ago
AM
amassaia
Quote Originally Posted by Toymaker View Post
Just paste your actual C++ here so I Can fix it for you =/
I just trid to compile the first hello world Tutorial in the book i downloaded, here it is:
Code:
// firsttutorial.cpp : Defines the entry point for the console application.
//

#include "stdafx.h"

int main();
{
 cout; <<"Hello World!n";
 return 0;}
#6 · 17y ago
Toymaker
Toymaker
Code:
#include <iostream>
using namespace std;
int main() {
 cout; <<"Hello World n";
 system("pause");
}
Try a standard tutorial man, a working version looks more like this You also had multiple errors like putting ; after main() and without using namespace std you can't use cout without std:: in front of it and \n is the proper next line code and that tutorial must have it's own header file but all compilers have iostream and I added system'pause' so you can actually see the message before it closes. Good luck.
#7 · 17y ago
zhaoyun333
zhaoyun333
wrong button double posted
#8 · edited 17y ago · 17y ago
zhaoyun333
zhaoyun333
For normal C++ the proper code is:
Code:
#include <iostream>

using namespace std;

int main(){

cout<<"Hello World!"<<endl;

system("pause");

return;}
#9 · 17y ago
AM
amassaia
Can anyone give me a better compiler for me a beginner then? The one hat came with the tutorial isnt wrking for me neither are alot of them
#10 · 17y ago
Toymaker
Toymaker
Just google Bloodshev Dev-C++ compiler or something and use my example instead of zhao's, good luck. The tutorial you followed was the only problem. The code wasn't done correctly.
#11 · 17y ago
AM
amassaia
Quote Originally Posted by Toymaker View Post
Just google Bloodshev Dev-C++ compiler or something and use my example instead of zhao's, good luck. The tutorial you followed was the only problem. The code wasn't done correctly.
I cant find bloodshevs but i can find bloodshed, can you give me a better tutorial please? THe lear c++ in 21 days wasnt working out good for me
#12 · 17y ago
AM
amassaia
I think i found it but whenever i run it i get the error:
There doesn seem to be a GNU make file in the PATH.....
How do fix this?
#13 · 17y ago
zhaoyun333
zhaoyun333
Learn C++ not VC++. I use and recommend Borland C++/C compiler.
#14 · 17y ago
GG2GG
GG2GG
zhaoyun change ur sig ur not good at c++ else you wouldnt be amazed by the code in ur sig
#15 · 17y ago
Posts 1–15 of 16 · Page 1 of 2

Post a Reply

Similar Threads

  • need help with moddingBy BayBee Alyn in Combat Arms Help
    0Last post 15y ago
  • need help with modBy .:MUS1CFR34K:. in Call of Duty Modern Warfare 2 GSC Modding Help/Discussion
    4Last post 15y ago
  • Anyone can help with this ?By devileyebg in Vindictus Help
    1Last post 15y ago
  • help with ca hacksBy moises8 in Combat Arms Help
    4Last post 15y ago
  • Need help with numpad while recording macro !By JonathanTBM in Vindictus Help
    2Last post 15y ago

Tags for this Thread

#compiling