home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / listings / v_08_11 / 8n11086a < prev    next >
Text File  |  1990-09-18  |  267b  |  16 lines

  1.  
  2.     class Rfile : public File {
  3.     public:
  4.         Rfile( char *name = "") : ( name, "r");
  5.         
  6.         int get()    { return File::get(); }
  7.     };
  8.  
  9.     class Wfile : public File {
  10.     public:
  11.         Rfile( char *name = "") : ( name, "w" );
  12.         
  13.         void put( int c)    { File::put( c); }
  14.     };
  15.  
  16.