Help needed in operator>> overloading(C++)
Hello,
i have some problem doing operator>> overloading in C++.. the detail is below: -i have created a class name phone -i have declared 2 objects name phone1 and phone 2 -how can i perform phone1>>phone2; successfully? please help me with this problem.. thanx for your time.. -jaji- |
Sounds like homework ;-)
I'd look under "operator overloading" in your text book. Here's a good tutorial: http://www.see.ed.ac.uk/~sasg/Comput.../Cpp/cpp6.html Definitely post back with specific questions. And definitely include code showing what you've tried. Good luck .. PSM |
All times are GMT -5. The time now is 04:11 PM. |