Original Post
Well, I just recently got the C++ for Dummies: Books 7 in 1, by Jeff Cogswell. I just started reading the book and the first thing he wrote to do was begin a new project, with console format selected. He said to save it and then run + compile it. In the book he gets a little window that looks like DOS that says "Press any key to continue. . ." However, everytime I try to do his exact steps I get an error.
Line File Message
2 C:\Dev-Cpp\New Folder\2 unable to run program file
This is all that I am trying to compile and run:
#include <iostream>
#include <stdlib.h>
int main(int argc, char *argv[])
{
system("PAUSE");
return 0;
}
Apparently this is supposed to result in the DOS-type window that I described above.
Any help would be greatly appreciated...