newbie devc++ question

Status
Not open for further replies.
I am very new so bare with my ignorance.
I am using devC++ and a book to learn c++. When I open a new source file devc++ automatically adds in system("PAUSE"); right before return 0;.
When i compile it always give me an error message on that line. It says "implicit declaration of function 'int system(...)'

I've messed around with devc++ at work and it doesn't have this problem there.
Without this line I have to run my programs from a command prompt which is inconveinent. Any ideas on what the problem is or another way to make the program not close the Windows after it has finished?
thxs

moved this from the software forum
i noticed if i just do a hello world programs it works fine
 
Status
Not open for further replies.