please help.
i need to convert a char array (with a numeric value) to an integer. how do i do that in c++?
thanks a lot.
please help.
i need to convert a char array (with a numeric value) to an integer. how do i do that in c++?
thanks a lot.
Last edited by mbh; 10-30-2002 at 11:40 PM.
use the function atoi(char *)
No, use stringstream.
Last edited by Sang-drax : Tomorrow at 02:21 AM. Reason: Time travelling