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 error please.

Help with error please.

Posts 1–8 of 8 · Page 1 of 1
ED
Edsport
Help with error please.
I'm try the "Learn C++ in 21 days" (gotta start somewhere lol) and i'm trying to run this program that it teaches. No errors when i compile it but when i hit run there is a problem. Not sure if i missed something but i followed the the instructions. I'm using Borland Turbo C++.

Here is a link to a pic i saved using the "print screen" button. It shows the error... Thanks...
Send big files the easy way. Files too large for email attachments? No problem!
#1 · 17y ago
CA
Calster
Next time upload the picture to a image hosting site so we dont have to download it.

I think you may have made the wrong project type. Try creating an empty project and using your code. You may also need to add the line
Code:
using namespace std;
under you're includes.
#2 · 17y ago
ED
Edsport
Thanks for replying. I managed to get a thing come up on the screen that is suppose to contain the text "Hello World" but only the thing popped up but no text. I tried with the code you suggest also...
#3 · 17y ago
ED
Edsport
Not sure how to do it with empty project. Here is a pic of what i did. Can you give me step by step after i open borlands turbo?

http://i155.photobucke*****m/albums/s...rt/Problem.jpg
#4 · 17y ago
ZE
zeta2000
I recommend you to start learning C before you learn C++
#5 · 17y ago
nukeist_
nukeist_
2 problems

One, You should put this code at the VERY TOP of each program so it imports the BASIC windows things
[php]#include <windows.h>[/php]

Also, COUT is only used in CONSOLE applications, and what you have there is a FORM.

A console APP is like Command Prompt, in that you can input/output/prompt the user to get and process info. So, COUT just makes the 'command prompt' basically write something into the field, and nothing more. What you're trying to do is do the same thing in a form, and the compiler is getting confused, since it has nowhere to print the information, since there isn't a console.

Instead of that, write:
[php]ShowMessage("Hello, MPGH!");[/php]

I am also a Borland user, I use Borland C++ 2007 Pro

If you want to make a CONSOLE application just as the tutorial said, go to File>>New>>Other and then select C++ Builder Projects in the tree view on the left, then select CONSOLE APPLICATION.
#6 · edited 17y ago · 17y ago
FE
Felipeb18
At the end of the function main(), put

Code:
char c;
cin >> c;
#7 · 17y ago
ED
Edsport
Sorrry it's been a while. Thanks all but i'm still confused. I can't get it to run. I chose console application.
Is it possible you could give me exactly what i need to type so i copy and paste it in and see if that work?. I would appreciate it. I would like to get pass this...
#8 · 17y ago
Posts 1–8 of 8 · Page 1 of 1

Post a Reply

Similar Threads

  • I need Help with errorBy iKSAi in Alliance of Valiant Arms (AVA) Help
    4Last post 15y ago
  • Help With Coding PleaseBy pbguy145 in WarRock - International Hacks
    1Last post 18y ago
  • Smart Close - Helps with Errors.By Obey in CrossFire Hacks & Cheats
    2Last post 17y ago
  • Help with Unbann pleaseBy killacrazy2 in Combat Arms Hacks & Cheats
    8Last post 18y ago
  • A little Help With IE PleaseBy chc18 in General
    9Last post 18y ago

Tags for this Thread

#error