I need help with a calculator i created. It keeps giving me the error;"ISO C++ forbids comparison between pointer and integer" and "invalid conversion from `const char*' to `char'".
The double quotes (") in line like if (operation=="+") should be single quote ('). Double quotes makes it a string literal, a single quote make is a character literal.
and line like operationd= "Addition (+)"; you are trying to assign a string to a char.
It also looks like you are missing a closing brace (}) at line 77.
You seem to be confusing two different variables. operation is a char and, as such, can only store a single character. Examples are '+', '-', etc.. operationd is declared a char but it appears that your intentions are to store a string-representation of operation in it. In order to do so, it should be a string. Strings can store multiple characters. Examples of strings are "", "+", "Addition (+)", etc.. Note the different types of quotes that surround char literals and string literals.