Hey all,
I'm programming in c++ windows forms apps.
I'm very new and have been searching for 2 days now but i can't seem to find a way that works.
I need to convert my int to a string to put it into a label control.
Also i'm still a little confused with namespaces and stuff so if you could make that clear that would help alot.
thanks.
2007-03-05
15:55:52
·
6 answers
·
asked by
ronin.stretch
1
in
Computers & Internet
➔ Programming & Design
yes i looked at itoa() but i can't get my head round it in all the examples.. i havnt used printf so... I havn't used char's much either.
What i want is a simple function that will take an int variable and return a string..
So i can do say...
Form1::textbox1->Text = ConverIntToString( thisInt)
even if i have to make that function.. i need to convert lots of int's to strings to display them.
thanks for your help
2007-03-05
16:50:48 ·
update #1
Thank you all for your help i think i have the jist of it now.
Also id like to say i am learning C++ i'm just learning alone. Moving through a basic project and looking up everything i need on the way. Just sometimes i get stuck.. I do understand namespaces, i meant i just get lost with them.
2007-03-05
17:04:28 ·
update #2