Upon attempting an operator overloadulation (yes, I know, not a word), I get an error stating that
ostream & operator<<(ostream &, nation) must take exactly one argument
I know what this means (I think), but I have no idea how to fix it. Also, my other error arose due to this, that there is no match for operator<<() in std::cout << yours. Any ideas? Here is my code:
I must admit I'm not exactly an expert at dealing with streams like this, but it's just that. operator<< only takes one parameter, which is the right hand operand (the type of the left hand is determined by the class that defined the operator).