SyntaxFix
Write A Post
Hire A Developer
Questions
You'll need to compile it using:
g++ inputfile.cpp -o outputbinary
The file you are referring has a missing #include <cstdlib> directive, if you also include that in your file, everything shall compile fine.
#include <cstdlib>