home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / misc / volume6 / lookup.c++ / testcmd.c < prev    next >
Encoding:
C/C++ Source or Header  |  1989-03-04  |  328 b   |  26 lines

  1. #include <stream.h>
  2.  
  3. int a(const char *s)
  4.   {
  5.   cout << form("a: %s\n", s);
  6.   return 0;
  7.   }
  8.  
  9. int b(const char *s)
  10.   {
  11.   cout << form("b: %s\n", s);
  12.   return 0;
  13.   }
  14.  
  15. int c(const char *s)
  16.   {
  17.   cout << form("c: %s\n", s);
  18.   return 0;
  19.   }
  20.  
  21. int oops(const char *s)
  22.   {
  23.   cout << form("command %s unavailable\n", s);
  24.   return 0;
  25.   }
  26.