Are there any nessicary files to include when you use the system() function?
Printable View
Are there any nessicary files to include when you use the system() function?
#include <stdlib.h> (i think), try the FAQ.
>Are there any nessicary files to include when you use the system() function?
<stdlib.h> or <cstdlib>
-Prelude
Note:
If you want to use a function you should either define it in your program, or include a library, where it is defined...
So for sure you should include a file in order to use system(), or any other function, unless ofcourse you want to define it yourself.