aside from itoa function, is there any other way to convert a string to an integer? itoa function won't work in my compiler.
cmsc
0
Light Poster
Recommended Answers
Jump to Postitoa is not an ANSI/ISO standard function and is non-portable, also it converts an integer to a string not a string to an integer.
Try atoi or strtol
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.