home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / listings / v_09_05 / 9n05108a < prev    next >
Text File  |  1991-03-23  |  292b  |  20 lines

  1.  
  2. /*
  3.  * ln_seq.h - line number sequence interface
  4.  */
  5. class ln_seq
  6.     {
  7. public:
  8.     ln_seq();
  9.     void add(unsigned n);
  10.     void print();
  11. private:
  12.     struct listnode
  13.         {
  14.         unsigned number;
  15.         listnode *next;
  16.         };
  17.     listnode *first, *last;
  18.     };
  19.  
  20.