home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / programming / c / c2man-2.0pl33.lha / c2man-2.0 / example.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-01-28  |  689 b   |  21 lines

  1. enum Place
  2. {
  3.     HOME,      /* Home, Sweet Home */
  4.     WORK,      /* where I spend lots of time */
  5.     MOVIES,    /* Saturday nights mainly */
  6.     CITY,      /* New York, New York */
  7.     COUNTRY    /* Bob's Country Bunker */
  8. };
  9.  
  10. /*
  11.  * do some useful work for a change.
  12.  * This function will actually get some productive
  13.  * work done, if you are really lucky.
  14.  * returns the number of milliseconds in a second.
  15.  */
  16. int dowork(int count,        /* how much work to do */
  17.            enum Place where, /* where to do the work */
  18.            long fiveoclock,  /* when to knock off */
  19.            int just_another_argument /* I would like to see this is a argument printed in multiple lines */);
  20.  
  21.