![]() |
Converting in C++
How do you convert strings to ints or ints to strings in C++?
Also, where can I look for similar methods, such as double to string? Is there a standard reference for C++ methods? How do you find methods you didn't know about? Thanks for the help. |
|
That seems kind of complicated... isn't there an easy way to do it?
|
|
Actually using stringstream is a very elegant way of doing it.
Basic input & output for a small intro. |
| All times are GMT -5. The time now is 4:31 AM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC