Friday, July 30, 2010

error: "exit" was not declared in this scope

 If you gcc is <=3.4 --> add this #include <iostream>
in gcc 4.3 --> #include <cstdlib>


error:'strcmp' was not declared in this scope:

for c++ -> use #include<cstring>


--
Sheetal

--A journey of a thousand miles begins with a single step --

No comments: