halo,
im a newer in this c++ program.i try to execute this code(at the attachment) at ns2 unbuntu 9.10 but the following error occur. help me fix this error.
analyze.cpp:55: error: ‘EXIT_FAILURE’ was not declared in this scope
analyze.cpp:55: error: ‘exit’ was not declared in this scope
analyze.cpp:61: error: ‘EXIT_FAILURE’ was not declared in this scope
analyze.cpp:61: error: ‘exit’ was not declared in this scope
analyze.cpp:67: error: ‘EXIT_FAILURE’ was not declared in this scope
analyze.cpp:67: error: ‘exit’ was not declared in this scope
analyze.cpp:73: error: ‘EXIT_FAILURE’ was not declared in this scope
analyze.cpp:73: error: ‘exit’ was not declared in this scope
analyze.cpp: In function ‘int main(int, char**)’:
analyze.cpp:196: error: ‘EXIT_FAILURE’ was not declared in this scope
analyze.cpp:196: error: ‘exit’ was not declared in this scope
analyze.cpp:205: error: ‘strcmp’ was not declared in this scope
analyze.cpp:221: error: ‘EXIT_FAILURE’ was not declared in this scope
analyze.cpp:221: error: ‘exit’ was not declared in this scope
analyze.cpp:226: error: ‘EXIT_FAILURE’ was not declared in this scope
analyze.cpp:226: error: ‘exit’ was not declared in this scope
analyze.cpp:232: error: ‘atoi’ was not declared in this scope
analyze.cpp:239: error: ‘EXIT_FAILURE’ was not declared in this scope
analyze.cpp:239: error: ‘exit’ was not declared in this scope
analyze.cpp:247: error: ‘system’ was not declared in this scope