/****************************************************************************** *** FILE: Robot.h *** DATE: 03/21/2004 *** AUTHOR: Daniel Dementiev *** GOAL: This file is a part of the Smart Pointer object. This simple class *** is designed to illustrate when an object is created and destroyed. ******************************************************************************/ #ifndef _ROBOT_ #define _ROBOT_ #include using namespace std; class Robot { private: static int ID; int myID; public: Robot() : myID(ID++) { cout<<"Robot "<