#include #include "thing.h" using namespace std; // member functions Thing::Thing() // default to "empty" thing { height = 0; weight = 0; } Thing::Thing(int h, int w) // constructor to initialize memeber data to h, w { height = h; weight = w; } void Thing::Show() { cout << "Height = " << height << "\t\tWeight = " << weight << '\n'; } void Thing::Set(int h, int w) { height = h; weight = w; } int Thing::GetHeight() { return height; } int Thing::GetWeight() { return weight; }