Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#22 Add ToString method to Integer class

open
nobody
None
5
2006-09-25
2006-09-25
Anonymous
No

Add a method to the Integer class to convert a number
to a char * string.

Discussion

  • Logged In: YES
    user_id=505683
    Originator: NO

    Probably do not want to convert to a char* because then there is the question of who deletes the memory. Safer to return a std::string, and not as a reference.