why does the compiler doesn't recognize itoa string function. I have included <string> and <stdlib> header file.
here is the exact error code :
prog.cpp: In function �int main()�: prog.cpp:18:33: error: �itoa� was not declared in this scope itoa(k[p-1],buffer,2); ^
If i just copy-paste the code in editor and try to submit it is not recognizing <iostream> header file.
prog.c:2:20: fatal error: iostream: No such file or directory #include <iostream> ^ compilation terminated.
uff after so much of debugging, now have to write a code which is compatible with this compiler.