C++ system() function header file

csystem

for system() function in c++, which header file to be used in code::Blocks ? please help me !

Best Answer

You need to include one of the 2 files below, which contain many C++ standard facilities:

#include <cstdlib>
//Or the c style header:
#include <stdlib.h>