If i have a variable buffer containing a string for example "18" and i wanted to add a 9 to the end of the string and place it in an edit window. How would i code that im sure its a stupid question but im coming from a java background my code looks a bit like this
where buffer contins the original string.I know my code is wrong, I just put it like that to show what im trying to do.
TCHAR buffer ;
SetWindowText(hwndEdit,TEXT("buffer + 9"));
One way is to append the TCHAR string using _tcscat() from tchar.h.