Urgent......thank you so much...
Printable View
Urgent......thank you so much...
Code:fin.getline(bufferVariable);
atoi(bufferVariable);
cout<<bufferVariable+1;
//think this is how you do it...but i know for sure it's the atoi() function
i have add this to the program but there is error saying :" undeclared identifier".....
do i have to include any header file?
i have included <string.h> and <iostream.h>.
is that enough?
thank you !!!
>do i have to include any header file?
#include <cstdlib>
or
#include <stdlib.h> // For older compilers
-Prelude
sorry......that should be <fstream.h>
thank you so much....