Hi,

I have somehting like this

string str;

str = "5";

I want to convert this str to an integer 5. How can I do this . I am using atoi(str) I am getting compilation errors.

Can anyone plese help me.

thanks
rakesh