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

  1. #define __STRLINES_H
  2.  
  3.  
  4. class strlines
  5. {
  6.    char *q;
  7.    char *p;
  8.  
  9.    public:
  10.  
  11.    strlines()
  12.    {
  13.       q = 0;
  14.       p = 0;
  15.    }
  16.  
  17.    int hasmore();
  18.    int getnolines(char s[]);
  19.    void start(char s[]);
  20.    void proceed();
  21.    void peek(char b[]);
  22.    void getline(char s[], int i, char line[]);
  23. };
  24.