Im a confused ultra-newbie, and I need help! Plz help me!
Ok the code below- when i comply it into an exe, it just flashes up a small windows app screen and i cant see whats in it. b4 it closes itself!!! here is the code that does the above problem:
Code:
#include <iostream.h>
int main()
{
cout<<"HEY, you, I'm alive! Oh, and Hello World!";
return 0;
}
Thanks in advance for any help!!
Re: Im a confused ultra-newbie, and I need help! Plz help me!
what I used to is to add a line with cin:
PHP Code:
#include <iostream>
void main()
{
cout<<"HEY, you, I'm alive! Oh, and Hello World!";
cin >> "stop here";
}
try to compile it and see if it could have a pause. ;)