View Single Post
  #2 (permalink)  
Old April 20th, 2008, 05:19 PM
SilentFallen SilentFallen is offline
Registered User
 
Join Date: Apr 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

From what i gather you made a program like this one:

// Hello World
#include <iostream>
using namespace std;
int main()
{
  cout<< "Hello World";
      << endl;
  return 0;
}


you need to replace the:
return 0;
with something like:
system("PAUSE");
return EXIT_SUCCESS;


I am also new at C++.. i have been going threw Ivor Horton's Beginning C++ book.. its not mentioned in there at the beginning when you make simple programs like this... i got it from when you make a new project in Dev-C++ 4.9.9.2 it automatically adds some lines of code that you would normally delete and start from the blank slate..

Reply With Quote