#include #include // another example of a class. Here we put an array as a data member. using namespace std; class Vehicle { public: char color[6]; string model; string make; int year; int mileage; double price; }; // instantiate Vehicle v1, v2; v1.color[0]='C'; // this subscripts the member array called color v1 = v2; // yes if (v1 < v2) // no rather: if (v1.price < v2.price) // yes cout << v1; // no //rather: cout << v1.make << v1.price << endl; // .... for all members