Is there a method in String class to convert a string to an int?

Eljay Love-Jensen eljay@adobe.com
Tue Sep 14 11:39:00 GMT 2004


Hi,

Use std::istringstream or BOOST lexical_cast.

http://www.boost.org/libs/conversion/lexical_cast.htm

HTH,
--Eljay



More information about the Gcc-help mailing list