Anonym
public cpp v1 · immutableostream& output(ostream& temp) const //Funktion zum überladenen << Operator{ temp<<"\nName, Vorname: "<<getn()<<", "<<getv()<<endl; if(getat()==0) temp<<"keine Telefon/E-Mail vorhanden"<<endl; else { temp<<"Telefon/E-Mail: "<<endl; or(int i=0; i<getat(); i++) { cout<<i+1<<": "<<this->tel[i]<<endl; } } cout<<endl; return temp;}