This is supposed to be C, right? Because "<cstdlib>" and "using namespace std" are C++.