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

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