General Question

waterskier2007's avatar

How do i convert an int variable to a string in c++?

Asked by waterskier2007 (2068points) October 10th, 2010

I took an intro to programming class about 3 years ago and I feel like we learned a simple one line of code to convert an int to a string. For example if I had the number 123 and wanted to convert it to the string “123” I thought there was one line of code. i cannot for the life of me remember it. Thanks for any help

Observing members: 0 Composing members: 0

3 Answers

Answer this question

Login

or

Join

to answer.

This question is in the General Section. Responses must be helpful and on-topic.

Your answer will be saved while you login or join.

Have a question? Ask Fluther!

What do you know more about?
or
Knowledge Networking @ Fluther