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.Code:TCHAR buffer [256]; GetWindowText(hwndEdit,buffer,255); SetWindowText(hwndEdit,TEXT("buffer + 9"));