Skip to main content
gamedev.net
🔒 Locked

wondering

Started by Filip 2 replies 850+ views
Original Post
Filip
Filip
Program reads from keyboard one whole (integer) number n(1
Fruny
Fruny
Homework ?
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan
randomZ
randomZ
Really, why else than for a homework would you want to know that?

Lookup std::string::substr() and std::stringstream (for type conversions).
Hope that pointed you in the right direction.


---
Just trying to be helpful.

Sebastian Beschke
Just some student from Germany
http://mitglied.lycos.de/xplosiff
---Just trying to be helpful.Sebastian Beschkehttp://randomz.heim.at/

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.