Why do I get these errors?

Hey, having some trouble with my Visual studio. See the errors in the errorlist.
Why do I get those errors? Have done other programs exactly(well probably not since I get errors now) the same way.

Looks to me that you've mixed up the stream extraction / insertion operators @ line 21.

cin << ...
cin >> ...

and you should be set. Good luck!
thanks, it works now! Got 49 errors so I didn't even look at that:P
Aye, modern C++ compilers leave much to be desired with their output...hopefully they'll get around to fixing it up one of these decades.
┬┐how so?
error: no match for `operator<<' in `std::cin << choosenNum
looks quite clear to me.
Topic archived. No new replies allowed.