Trying to write an elementary calculator in C ++
#include <iostream> using namespace std; int main() { int a,b,d; char c; cout << "Enter first number " << endl; cin >> a; cout << "enter sing" << endl; cin >> c; cout << "Enter second number " << endl; cin >> b; switch (c) { case '+': d = a + b; break; case '-': d = a - b; break; case '*': d = a*b; break; case '/': d = a/b; break; } cout << "result = " << d; system ("pause >> void"); return 0; } But it gives 2 errors: LNK2005 and LNK1169 Please help 2-day programmer)
pausecommand to a file calledvoid?) - VladDvoid? - VladD