How could one convert a string to upper case. The examples I have found from googling only have to deal with chars.
My solution (clearing 6th bit for alpha):
#include inline void toupper(char* str) { while (str[i]) { if (islower(str[i])) str[i] &= ~32; // Clear bit 6 as it is what differs (32) between Upper and Lowercases i++; } }