G
GRoll21
I know there is a function but I cannot seem to find it. There should
be a way to uppercase a char right?
Here is what I got.
cout << "Enter title of a book for look up: ";
cin >> firstString;
if (strcmp(toupper(firstString), toupper(bookTitle[index])) == 0)
then i check the book they enter to a book in my bookTitle array. How
can I make it so it puts both firstString and bookTitle to uppercase?
Any help would be great! Thanks!
be a way to uppercase a char right?
Here is what I got.
cout << "Enter title of a book for look up: ";
cin >> firstString;
if (strcmp(toupper(firstString), toupper(bookTitle[index])) == 0)
then i check the book they enter to a book in my bookTitle array. How
can I make it so it puts both firstString and bookTitle to uppercase?
Any help would be great! Thanks!