I need to solve an exercise,I already created the required member function:
void print(ostream& e){
e << this->i << endl;
}
But when I want to call that function,I have no ideea how to create that ostream.I never really worked with anything else than cin,cout,get.Little help?