#ifndef __MyClass__ #define __MyClass__ class MyClass { private: float fX; //x position in centimeters float fY; //y position in centimeters float fZ; //y position in centimeters public: MyClass(); float getX() const; float getY() const; float getZ() const; void SetX(float x) { fX = x; } void SetY(float y) { fY = y; } void SetZ(float z) { fZ = z; } void Print() const; }; #endif