Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

integer to string

Status
Not open for further replies.

jhunsaker

Programmer
Mar 14, 2006
1
US
I'm trying to convert an integer to a string(in Linux) and cannot find a conversion function for C. Can anybody help me out?
 
True, you could use itoa, however it is not a standard C function, and therefore not guaranteed to be available in your compiler. Every implementation of itoa I've seen calls sprintf.
 
For example, VC++ 6.0 RTL _itoa (with itoa macros) does not call sprintf...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top