![]() |
| |
Thread Tools Display Modes |
|
Hi can anyone help me plz?
Hi, im new to these forums, this is my first post >_>, so im learning C++, so far ive been doing ok but i have an issue because when i run a program a windows just pops really fast, i know thats the program but how can i choose when to close the window (like press enter or something), if anyone could post a code it would be nice.
|
|||||||
|
U need 2 put system("pause"); in there
Example Code:
#include <iostream>
Using namespace std;
Int main()
{
cout << "Hello world" << endl;
system("pause");
return 0;
}
__________________
DONT CLICK HERE
![]() Quote:
Quote:
Quote:
Last edited by mameman2; 02-05-2008 at 04:23 PM.. |
||||||||||
|
ummm is it kinda sad that i just answered this question umm about a day ago i think the thread is right below
edit my bad it is 3 down!
__________________
![]() If you like my sigs rep me (thanks for the rep guys i appreciate the feedback!) |
|||||||
![]() |
| Bookmarks |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
























Linear Mode
