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.
Printable View
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.
I think this is in the faq.
use the function atoi(char *)
No, use stringstream.