home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Using Visual C++ 4 (Special Edition)
/
Using_Visual_C_4_Special_Edition_QUE_1996.iso
/
ch14
/
templts.h
< prev
next >
Wrap
C/C++ Source or Header
|
1995-09-18
|
319b
|
19 lines
// templts.h
// The RailroadCar class template
template <class T>
class RailroadCar {
public:
// Constructors and destructor
RailroadCar(int NewCarNumber, T& NewContents);
~RailroadCar();
// Public member functions
void ShowContents();
T* Unload();
private:
T* pContents;
int CarNumber;
};