Basically the program I'm trying to do lets you input something like 2*2 on a console application and get an answer. The * could be a -, +, or / and it's suppose to do the caculation according to what you type in.
cout << "Enter Equasion: "
cin >> num1 >> operator >> num2
And you'd put in the numbers and what you wanted to do with the numbers, be it add or subtract or whatever.
The operator is defined as a char while num1 and num2 are int, but it doesn't work right. How would you code this to work properly? What I get now is just typing in my equasion and getting the option to exit the console.