I searched the board, to no avail. Is there a function which will convert a string of chars to uppercase? I tried creating my own function... but i'm pretty sure i'm going about it the wrong way...
I tried using a subscript on the pszText variable, but seeing as i'm using a refrence, it doesn't work, and I don't want to return a pointer to a character array either. Here's my messed up code
Code:void MakeStringUpper(char &pszText) { for (int i = 0; i <= strlen((char *)pszText); i++) { strcat(&pszText + (sizeof(char) * i), toupper(&pszText + (sizeof(char) * i))); } return; }