home *** CD-ROM | disk | FTP | other *** search
/ Inside Multimedia 1995 July / IMM0795.ISO / share / tools / freeman / disk1 / 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.