c++ declaring an instance of a class 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;