It's a linker error meaning operator<< with those parameters is not defined. Remember that if you're trying to do something like
Class c;
cout << c;
the operator<< function must either be a member of ostream or a global function. If you make it a member of Class it's not going to work the way you expect.
|