thank u sicarie
I tried that one but still not sure
is there any other way
i mean they r using ostream insted of the class name
????????
why?
User Profile
Collapse
-
-
Overloading '<<' operator
Can any one help me in that:
I wont to write an OO-based program that will make use of two classes in creating
composed objects.
The first class is the Customer class that is to contain the following:
• Function to print the customer’s data.
• Function to calculate the total cost for the customer.
• Objects made of this class will contain a
o Customer name
o Customer phone number and...
No activity results to display
Show More
Leave a comment: