Hello again!
I am creating a simple calculator, just for fun.
I keep getting this error: " ISO C++ forbids comparison between pointer and integer"... What does it mean and what did i do wrong?
//Calculator
#include <iostream>
usingnamespace std;
int main ()
{
//variables
int fir;
int sec;
char op;
//enter stuff in
cout << "Welcome to my Calculator!\nPlease enter your first number!\n: ";
cin >> fir;
do {
cout << "Please write your Operator! (+,-,*,/)\n: ";
cin >> op;
}while (op == "+" || "-" || "*" || "/" ); //Error here
cout << "Please write your second number!\n: ";
cin >> sec;
//more stuff is going here later, please don't complain over my lack of code in this spot...
//end stuff
return 0;
}