Hi ppl!
Can someone help me write an assignment operator for a c++ code that outputs a calender.
I already am told that the declaration of it is as follows:
Calender& operator= (const Calender& rhs);
How do I define it? I simple have:
Calender& operator= (const Calender& rhs);
{
return (rhs);
}
I know that's wrong, and I have to copy parts somehow, but I have no idea how to define it!! Plz help!
Also, with the calendar source code, how would you output that code if you were to show 3 months along the screen by 4 months down, instead of just the one at a time?
Thanks!
Claire