This is part of a calculator program, whenever I try to compile it I get the following error message:
no match for call to '(std::istream) (std::string&)'
Here is the code:
1 2 3 4 5 6 7 8 9 10
cout << "Please press\nf for fractions\np for percentages\nn for simple sums\n";
cin (first_input);//this is the line where the compiler says the error is.