long way ’round

I want to know why you might approach assigning “Longitude” to a CString using this method:

CString temp_str;
sprintf(temp_str.GetBuffer(), "%s", "Longitude");
temp_str.ReleaseBuffer();
This entry was posted in Computers and tagged . Bookmark the permalink.

Leave a Reply