simple CString problem

Started by
1 comment, last by CProgrammer 20 years, 2 months ago
Hiw do I append a variable of type float,int,double... to a CString object. -CProgrammer
Advertisement
One way is to use operator+=() with a temporary CString variable that has the numeric primitive as it''s contents through the CString::Format() function. e.g.:
CString temp;temp.Format("%d", 5);original += temp; 
Ah thanks

This topic is closed to new replies.

Advertisement