home *** CD-ROM | disk | FTP | other *** search
/ C!T ROM 5 / ctrom5b.zip / ctrom5b / PROGRAM / DIVERSEN / FI21 / SAINT.H_ / SAINT
Text File  |  1995-02-01  |  550b  |  20 lines

  1. #define __SAINT_H
  2.  
  3. class saint                                                /* static int array */
  4. {                                             
  5.    int *buf;                                                         /* buffer */
  6.  
  7.    public:
  8.    saint();
  9.   ~saint();
  10.  
  11.    int *getbuf()                       { return buf;        }
  12.    int &operator[](int idx)            { return buf[idx];   }
  13.    int *operator+(int offset)          { return buf+offset; }
  14.  
  15.    int *takbuf();
  16.    int setbufsize(int newbufsize);
  17.    void setempty();
  18. };
  19.  
  20.