home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
IDIOMS.ZIP
/
9-5.H
< prev
next >
Wrap
C/C++ Source or Header
|
1991-12-04
|
517b
|
24 lines
/* Copyright (c) 1992 by AT&T Bell Laboratories. */
/* Advanced C++ Programming Styles and Idioms */
/* James O. Coplien */
/* All rights reserved. */
class FirstClass : public Letter {
public:
FirstClass();
~FirstClass();
Envelope make();
Envelope make(double weight);
// . . . .
};
class OverNight : public Letter {
public:
OverNight();
~OverNight();
Envelope make();
Envelope make(double weight);
double postage() { return 8.00; }
// . . . .
};