home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The C Users' Group Library 1994 August
/
wc-cdrom-cusersgrouplibrary-1994-08.iso
/
vol_300
/
353_02
/
box.h
< prev
next >
Wrap
Text File
|
1992-01-19
|
375b
|
19 lines
// Chapter 5 - Program 7
class box {
int length;
int width;
public:
box(void); //Constructor
void set(int new_length, int new_width);
int get_area(void) {return (length * width);}
~box(void); //Destructor
};
// Result of execution
//
// This header file cannot be compiled or executed