Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
0 Endorsements
~147 People Reached
Favorite Forums
Favorite Tags
c++ x 1
Member Avatar for brenzy

#include <iostream> #include <string> using namespace std; class Point { int x; int y; public: Point(int seed = 0) : x(seed), y(seed) { cout << "Overloaded constructor called.\n"; } ~Point() { cout << "Destructor called.\n"; } int getX() { return x; } int getY() { return y; } }; ostream& …

Member Avatar for Ancient Dragon
-1
147