View Single Post
  #1 (permalink)  
Old April 29th, 2007, 10:10 PM
ZORCH ZORCH is offline
Authorized User
 
Join Date: Apr 2007
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default C++ Pause comand line

I'm having a very difficult time with my compiler- Dev-C++ the problem is when I compile something like this


// my first program in C++

#include <iostream>
using namespace std;

int main ()
{
  cout << "Hello World!";
  return 0;
}

my comand line doesn't even come up for a second. I know there is such thing as system("pause") but I don't no how to run it through the script can somebody show me how to do this with that simple script above? Thx,

Reply With Quote