home *** CD-ROM | disk | FTP | other *** search
/ Turbo Toolbox / Turbo_Toolbox.iso / extra18 / hilfe / ffh_test.c < prev    next >
Encoding:
C/C++ Source or Header  |  1991-12-09  |  842 b   |  32 lines

  1. /* ------------------------------------------------- */
  2. /*                     FFH-TEST.C                    */
  3. /*       testet die Hilfe-Routinen aus FFH-LIB       */
  4. /*         (c) 1991 Axel Geßner & DMV-Verlag         */
  5. /* ------------------------------------------------- */
  6. #include <string.h>
  7. #include <stdio.h>
  8. #include "ffh-lib.h"
  9. #include <alloc.h>
  10.  
  11. int stop = 0;
  12.  
  13. void main()
  14. {
  15.   int  ffhc;
  16.   char t[80];
  17.  
  18.   initFFHlib();
  19.   cmpstr = stricmp;                   /* ignore case */
  20.   ffhc   = inithelp ("ffhc.fhd");
  21.   do {   /* Endlosschleife; stop mit Evaluate setzen */
  22.     printf ("\nHilfe zu: "); gets (t);
  23.     showhelp (ffhc, t);
  24.   } while (!stop);
  25.  
  26.   exithelp (ffhc);
  27.   puts ("\n");
  28. }
  29. /* ------------------------------------------------- */
  30. /*             Ende von FFH-TEST.C                   */
  31.  
  32.