Hi all,
The code below is to converts a tchar from lowercase to uppercase.
Could you tell me if my code is correct or need to be fixed.
Thank you very much.
VM
===============================
tchar* MyToUpper(tchar *input) {
static tchar buffer[1000];
tchar *s= input;
tchar *t= buffer;
while (*s!= '\0') {
*t= *s+ 'A' - 'a';
s+;
t+;
}
return buffer;
}