BetterCourse better("CSMDSI", "Data Structures");
cout %26lt;%26lt; endl %26lt;%26lt; better;
i have a class BetterCourse na di want a toString method like in Java. how do i do that in c++ so the above code will work?
C++ help. how do i use this?
Add a new method to the class that returns a string type, and call the method inside the object instead of the object itself.
Rawlyn.
Reply:origamix here is your link try it
http://www.google.co.uk/search?hl=en%26amp;q=C...
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment