Hi, Thanks. I was going on a hint the instructor gave us:
...from another example. He then went on:Code:friend ostream& operator <<(ostream&, vector <length>);
I was trying to apply something like that here...Code:for(int i=0;i<=v.size()-1;i++)
{
os<<v[i].feet;
os<<v[i].inches;
return os;
}
I'll try what you said...