#ifndef EXAMPLECLASS_H #define EXAMPLECLASS_H #include class ExampleClass { public: // This is the constructor ExampleClass(std::string name, double weight, double volume); // (There can also be a "destructor," but we'll delay looking at that) // class methods double getWeight(); void setWeight(double w); private: std::string name; double weight; double volume; }; #endif // EXAMPLECLASS_H