class on cpp code example
Example: classes c++
class Rectangle {
int width, height;
public:
void set_values (int,int);
int area (void);
} rect;
class Rectangle {
int width, height;
public:
void set_values (int,int);
int area (void);
} rect;