Casting Cstring to int
C / C++ / MFC
4
Posts
4
Posters
0
Views
1
Watching
-
Hi I have the following code: int x=100; CString s; s=x; I need to put the number 100 in s how? /\|-||\/|/\|)
-
Hi I have the following code: int x=100; CString s; s=x; I need to put the number 100 in s how? /\|-||\/|/\|)
Halawlaws wrote: I need to put the number 100 in s how? s.Format("%d",x); Marc Soleda. ... she said you are the perfect stranger she said baby let's keep it like this... Tunnel of Love, Dire Straits.
-
Hi I have the following code: int x=100; CString s; s=x; I need to put the number 100 in s how? /\|-||\/|/\|)
u can use the CString function Format CString s; s.Format("%d",x); "Don't forget to rate the solutions, if they help you.