Please Help me
Posts 16–23 of 23 · Page 2 of 2

Originally Posted by
skulhead
Before: return 0;
Typ: char f;
cin >> f;
That's kind of a stupid way to do it.

Originally Posted by
mookamoka3
That's kind of a stupid way to do it.
But it works.

Originally Posted by
skulhead
But it works.
Yes, but would you also add an else statement that does nothing? 

Originally Posted by
Hell_Demon
thats because console applications are ment to be run from cmd(start>run>cmd)
You can add a cin.get(); right before the last return in main(), then i'll stop there untill you press enter
Tank you man i love you so much ( No Homo )

Originally Posted by
Zack
Tank you man i love you so much ( No Homo )
How you got it to work man because i added what he said and it failed so i decided to add before the return 0;

Originally Posted by
iAreHDWhore
How you got it to work man because i added what he said and it failed so i decided to add before the return 0;
This is how you do it


Code:
#include <iostream>
int main()
{
// write to the screen
std::cout << "Hello World!";
return 0;
}
That should work.

Originally Posted by
xFishx
Code:
#include <iostream>
int main()
{
// write to the screen
std::cout << "Hello World!";
return 0;
}
That should work.
He already figured it out...
Posts 16–23 of 23 · Page 2 of 2