|
-
September 19th, 1999, 02:40 AM
#1
int to CString
I am having memory lapses.... how do I convert int to a CString????
-
September 19th, 1999, 10:33 AM
#2
Re: int to CString
See "CString::Format()" which works just like "sprintf()"
-
September 20th, 1999, 06:18 AM
#3
Re: int to CString
try this:
CString String ;
int Value=100 ;
String.Format("%i",Value);
now String is 100
HTH
kishk91
[email protected]
http://www.path.co.il
ICQ: 13610258
-
September 20th, 1999, 07:46 AM
#4
Re: int to CString
but, how can i convert a CString to int?
thanks
-
September 20th, 1999, 08:14 AM
#5
Re: int to CString
try this one:
int x ;
CString Value="100" ;
x=atoi(Value) ;
hope this helpd you...
regards
kishk91
[email protected]
http://www.path.co.il
ICQ: 13610258
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
|