0

What is the way to convert this int to a std::string. I have searched MSDN and found that itoa could be used (vs atoi for string to int as I know how it is done).
Though I cant find any good example that shows how itoa is used or if any other approach is possible.

int i = 5;
3
Contributors
3
Replies
7
Views
9 Years
Discussion Span
Last Post by Jennifer84
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.