Total Beginner
Quote:Original post by RichieW
Im getting:
implicit declaration of function `int system(...)'
when I try to compile it after adding system(pause); at the end. Anything else I need to add in?
Just open the .exe from an already open console, don't double click the .exe.
Or at the end of your main.cpp just add : getch(); ( Also #include <conio.h> to use getch() )
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement