I'm using Dev-C++ 4.9.9.2 and this seems weird to me. I have used itoa on the older version of Dev-C++ and it worked but now I try to use it on the new one and it says that it's undeclared, yet I looked into stdlib.h and I see it declared. Here is a sample program that won't work on my compiler:
Anybody know why this is happening?? I mean I used it before on the older Dev and it worked fine. I even looked in stdlib.h and it is in there. Any suggestions?Code:#include <iostream> #include <cstdlib> int main() { int a=5; char buffer[256]; itoa(a,buffer,10); //Error right here, undeclared..... return 0; }