Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > C/C++
You last visited: Today at 12:12

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



C++ "sleep" Befehl?

Discussion on C++ "sleep" Befehl? within the C/C++ forum part of the Coders Den category.

Closed Thread
 
Old   #1
 
elite*gold: -400
Join Date: Oct 2010
Posts: 87
Received Thanks: 2
C++ "sleep" Befehl?

alle meine C++ Programme schliessen sich wider schnell nachdem man sie aufgerufen hat gibt es irgendein Befehl der das verhindert?(bin nueling in C++)
in welcher headerdatei ist der befehl deklariert?
außer cin.get ()
flow³getter is offline  
Old 10/10/2010, 12:00   #2
 
HardCore.1337's Avatar
 
elite*gold: 1
Join Date: Feb 2009
Posts: 1,726
Received Thanks: 729
nehm
Code:
system("pause");
HardCore.1337 is offline  
Thanks
1 User
Old 10/10/2010, 12:05   #3
 
elite*gold: -400
Join Date: Oct 2010
Posts: 87
Received Thanks: 2
@HardCore.1337 ist der in iostream?
flow³getter is offline  
Old 10/10/2010, 13:42   #4
 
elite*gold: 0
Join Date: Jul 2010
Posts: 388
Received Thanks: 196
Quote:
Originally Posted by HardCore.1337 View Post
nehm
Code:
system("pause");
double fail

der imperativ heißt "nimm" und system("pause") ist windows spezifisch

Code:
cin.get()
SmackJew is offline  
Old 10/10/2010, 15:48   #5
 
elite*gold: -400
Join Date: Oct 2010
Posts: 87
Received Thanks: 2
@SmackJew doublelong fail ich hatte geschrieben außer cin.get ();
flow³getter is offline  
Thanks
1 User
Old 10/10/2010, 15:50   #6
 
elite*gold: 0
Join Date: Jul 2010
Posts: 388
Received Thanks: 196
Quote:
Originally Posted by flow³getter View Post
@SmackJew doublelong fail ich hatte geschrieben außer cin.get ();
das habe ich absichtlich ignoriert, es spricht nichts, aber auch gar nichts gegen cin.get()
SmackJew is offline  
Old 10/10/2010, 20:18   #7
 
elite*gold: 100
Join Date: Oct 2007
Posts: 738
Received Thanks: 485
system("PAUSE");
cin.get();
oder einfach das Projekt ohne Debugger bei VS ausführen.
Oder du benutzt wirklich Sleep();
ddl is offline  
Old 10/10/2010, 21:21   #8


 
MrSm!th's Avatar
 
elite*gold: 7110
Join Date: Jun 2009
Posts: 28,908
Received Thanks: 25,409
führ das programm über konsole aus.

system("pause") und co sind unschön

nächstes mal SuFU nutzen

#closed
MrSm!th is offline  
Closed Thread


Similar Threads Similar Threads
Kann mir bitte jemmand eine Hmachi HP erstellen """""SOS HELP""""
09/15/2010 - Metin2 Private Server - 11 Replies
SO wie der Titel schon sagt ich suche einen der mir per Teamviwer eine hp machen kann habe schon alles ausprobiert aber es klappt nie!!!! PLS HELP...



All times are GMT +1. The time now is 12:13.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.