I realize this error is usually due to some syntax or type issues but I am not sure how to solve this problem. I think it may do with the type of findRt.
vector&
For cout to be able to output your object you have to tell it how. One way is to overload the << operator:
cout
<<
ostream& operator<<( ostream& os, const vector& vec ) { ... ... // here output to os the way you want it to os << ... return os; }