Nearly finished going through the "C++ A beginners guide" by Herbert Schildt.
In Chapter 11 it talks about overloading the << and >> operators to allow classes to work with cin and cout.
Now following his example I got the overloaded '<<' operator to work but not the '>>' operator. I've checked my syntax again and again... it seems fine but keep getting the error message
c:\...\main.cpp|51|error: no match for 'operator>>' in 'std::cin >> testedclass'|
.
Here's my code in it's entirety - like I said the '<<' operator works fine...
Bascially I original had some arguements within the parenthese on line 44 (setup variables). I removed them to test the default constructer... forgot to remove parenthese... works a charm now - many thanks Bazzy :)