SyntaxFix
Write A Post
Hire A Developer
Questions
You need to add:
#include <cstdlib>
in order for the compiler to see the prototype for system().
system()