home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Education
/
collectionofeducationcarat1997.iso
/
COMPUSCI
/
CPPTUT.ZIP
/
BOX.HPP
< prev
next >
Wrap
Text File
|
1990-07-20
|
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