I'm having a weird issues declaring variable names in C++. When I tried declaring the two variables;
double hoursWorked;
double hourlyWage;
the variable name (hoursWorked, hourlyWage) would change colours in my IDE and the program would not compile, citing the names as "unused variables". This issue only happens with those two words when used as identifiers for 'double' variables. I checked the reserved word checklist and nothing seems out of the ordinary in my naming conventions.
I should also note that the variable name will be white (good) right until I type the final 'd' in 'Worked' and the final 'e' in 'Wage', at which it turns blue. This leads me to believe I'm trampling on some kind of keyword, since the "main" in the programs main function is of the same blue colour.
Any help would be appreciated!