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 › need help with console coding

need help with console coding

Posts 1–5 of 5 · Page 1 of 1
GE
GER-Domi.
need help with console coding
hi guis,

i need a console:

i used this code for a console but there is a loop missing and i don t know how to code a loop > becouse i m still learning c++ someone have to edit this code and add a loop

Code:
#include <iostream>

using namespace std;

int main()

{
    float address;
	cin >> address;

		system("pause");
}
what the programm have to do:
- if i type a adress like this in it: 0x97342 and i press enter the console have to be empty and ... i can do it again.. type a adress in it and if i press enter again its empty again. <<< please add this on the code

if someone can help me successfull he get credits for the console!
#1 · 16y ago
Kallisti
Kallisti
[php]
#include <iostream>
using namespace std;

int main()
{
while(true)
{
float address;
cout << "Enter\n";
cin >> address;
cin.get();
system("cls");
}
}[/php]
#2 · 16y ago
'Bruno
'Bruno
Just get a regular book and learn form the beggining
#3 · 16y ago
GE
GER-Domi.
Quote Originally Posted by Kallisti View Post
[php]
#include <iostream>
using namespace std;

int main()
{
while(true)
{
float address;
cout << "Enter\n";
cin >> address;
cin.get();
system("cls");
}
}[/php]
hmm dont work.. becouse if i write a address in it and press enter i can t write something again..
#4 · 16y ago
JayFabulous
JayFabulous
This loop will run ten times:

Code:
#include <iostream>
#include <conio.h> // getchar(); !Required only for pre 2010 Visual Studio's, and other IDE's.
using namespace std;

int main()

{
    float address;
    for(int x = 0; x < 10; x++) {
	// You will be prompted x times to run through the loop.
    cin >> address;
}

		getchar();
	//system("pause"); Avoid the use of "system" commands, their slow on dismissle from the HEAP. 
       // ...FIOS issue. Use getchar in place of ("pause")
}
Information:

This application will run through a loop x times. Each time prompting you to enter a value for variable 'address'. The previous value in the variable 'address' (if any) will then be overwriten. To avoid over writing values please use a vector or an array, or simply different variables.
#5 · edited 16y ago · 16y ago
Posts 1–5 of 5 · Page 1 of 1

Post a Reply

Similar Threads

  • need help with injecting code/using itBy 0xx-kyle-xx0 in Combat Arms Help
    1Last post 8y ago
  • NEED help with verification code when registering!By vinogradov in WarRock Korea Hacks
    2Last post 19y ago
  • I need help with this code in C#By trevor206 in Programming Tutorial Requests
    0Last post 17y ago
  • need help with teleport codeBy konni in WarRock - International Hacks
    0Last post 19y ago
  • [HELP] I NEED HELP WITH STAMINA CODEBy ilovepie21 in Visual Basic Programming
    15Last post 18y ago

Tags for this Thread

None