I wanted to try C++ so i tried the simple program of "Hello World" I compiled the Code, no errors occured and then when i try to run the program it loads a bit but nothing happens after that.
Help would be appreciated
Code:
#include <iostream>
using namespace std;
int main ()
{
cout << "hello World!";
return 0;
}
Originally Posted by sammysfat
I wanted to try C++ so i tried the simple program of "Hello World" I compiled the Code, no errors occured and then when i try to run the program it loads a bit but nothing happens after that.
Help would be appreciated
Post code, you might need to add a System("pause") or something to stop the program from ending at the end if you are running it without Debug...
On debug it will stop at the end.