home *** CD-ROM | disk | FTP | other *** search
/ Reverse Code Engineering RCE CD +sandman 2000 / ReverseCodeEngineeringRceCdsandman2000.iso / RCE / Ebooks / Thinking in C++ V2 / C18 / FileClass.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-05-25  |  419 b   |  19 lines

  1. //: C18:FileClass.h
  2. // From Thinking in C++, 2nd Edition
  3. // Available at http://www.BruceEckel.com
  4. // (c) Bruce Eckel 1999
  5. // Copyright notice in Copyright.txt
  6. // Stdio files wrapped
  7. #ifndef FILECLAS_H
  8. #define FILECLAS_H
  9. #include <cstdio>
  10.  
  11. class FileClass {
  12.   std::FILE* f;
  13. public:
  14.   FileClass(const char* fname, const char* mode="r");
  15.   ~FileClass();
  16.   std::FILE* fp();
  17. };
  18. #endif // FILECLAS_H ///:~
  19.