#include #include "thing.h" using namespace std; int main() { int temp1, temp2; const Thing t1(4, 100); // initialize a const object // since Show(), GetHeight(), and GetWeight() are declared as // const member functions, they can be called by t2 t1.Show(); temp1 = t1.GetHeight(); temp2 = t1.GetWeight(); // t1.Set(7,250); // this one cannot be called. Non-const return 0; }