I am trying to compare the string addPayType to all case sensitive possibilities. I have tried the strupr(), and a few other i have found on this board with 0% success rate. Here is my code snipit, Remember addPayType is string class. I did #include <string> and ctype.h in trying all the possiblilties found on this board. This is my first post so please forgive if im enter it incorrectly.
Code:if(addPayType == "salary" || addPayType == "Salary" || addPayType == "SALARY")