I am stuck please help

deleted
Last edited on
< deleted>
Last edited on
jonhouston2010 wrote:
I am having trouble converting my int into std
I don't know what you mean by this, could you elaborate? The program looks fine at a glance, what problem are you having with it?


if you mean int to std::string, you could use something like:

1
2
3
string str = "123";
int myInt;
istringstream ( str ) >> myInt;


you need to include <sstream>, but I see you've already done that.
OP was apparently deleted as well as a response by mutexe that I'd not seen. Oh well, guess we'll never know.
i'm confused :)
but nothing new there lol
Topic archived. No new replies allowed.