Use std::istringstream for this. m.
learning c++ wrote:
Hi, Is there a method in String class to convert a string to an int? In C, there is atoi function. How about in C++?
_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail