#include #include "thing.h" using namespace std; int main() { int temp1, temp2; const Thing t1(4, 100); // initialize a const object // note that Show(), GetHeight(), and GetWeight() do NOT change the // member data of the class, but they haven't been declared as // const member functions // these calls will NOT work, since t1 is const t1.Show(); // t1.Set(10,300); temp1 = t1.GetHeight(); temp2 = t1.GetWeight(); return 0; }