|
-
March 13th, 2003, 10:30 AM
#1
Function needed to Make an int into CString
Hi
I hope someone can help ?
I need a good function for making an int into a CString
any ideas
thanks
P
-
March 13th, 2003, 10:40 AM
#2
Use CString::Format. See in MSDN for details.
Regards,
Emanuel Vaduva
-
March 13th, 2003, 10:41 AM
#3
-
March 13th, 2003, 10:44 AM
#4
Hi there Posty. Check out the following :
Code:
int nInt = 56789;
CString strConverted;
strConverted.Format("%d", nInt);
Voila!
Hope that helps.
Ask a question and you're a fool for three minutes;
do not ask a question and you're a fool for the rest of your life.
- Chinese Proverb
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|