home *** CD-ROM | disk | FTP | other *** search
/ ftptest.leeds.ac.uk / 2015.02.ftptest.leeds.ac.uk.tar / ftptest.leeds.ac.uk / bionet / CAE-GROUP / SCL-WIN3x / SCL.EXE / LIST.CPP < prev    next >
C/C++ Source or Header  |  1994-08-06  |  495b  |  27 lines

  1.  
  2. /*
  3. * NIST STEP Core Class Library
  4. * clstepcore/SingleLinkList.cc
  5. * February, 1994
  6. * David Sauder
  7. * KC Morris
  8.  
  9. * Development of this software was funded by the United States Government,
  10. * and is not subject to copyright.
  11. */
  12.  
  13. /* $Id: SingleLinkList.cc,v 2.0.1.1 1994/04/05 16:39:59 sauderd Exp $ */
  14.  
  15. #include <List.h>
  16.  
  17. void
  18. SingleLinkList::AppendNode (SingleLinkNode * item)  
  19. {
  20.     if (head)  {
  21.     tail -> next = item;
  22.     tail = item;
  23.     }
  24.     else head = tail = item;
  25. }
  26.  
  27.