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]"for" loop

[HELP]"for" loop

Posts 1–5 of 5 · Page 1 of 1
Drake
Drake
[HELP]"for" loop
ok so this is the code i got atm , its explaining how the "for" thingy works .
but however , is it possible to add something so that the numbers count slower ? now it takes like 1 sec to count em all up .
would be cool if i could make it count +1 each second or something like that .

Code:
#include "stdafx.h"
#include <iostream>
using namespace std;


int main()
{
	int count;
	for (count=1; count <= 100; count++)cout << count << "\n" ;
		system("PAUSE");

	return 0;
}
any one know an easy way to do that ? (still beginner so dont come with to advanced stuff . )
#1 · 15y ago
Void
Void
Code:
#include "stdafx.h"
#include <iostream>
#include <windows.h> // for Sleep()
using namespace std;


int main()
{
	int count;
	for (count=1; count <= 100; count++)
        {
              cout << count << "\n" ;
              Sleep(1000); //in milliseconds
        } 
		system("PAUSE");

	return 0;
}
#2 · 15y ago
Drake
Drake
thank you for the help .

/Requesting Close
#3 · 15y ago
skulhead
skulhead
Not so hard :\
#4 · 15y ago
Hell_Demon
Hell_Demon
~ solved & closed ~
#5 · 15y ago
Posts 1–5 of 5 · Page 1 of 1

Post a Reply

Tags for this Thread

None