home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c031 / 4.ddi / SAMPLES / PWBTUTOR / COUNT.H$ / COUNT
Encoding:
Text File  |  1991-08-12  |  471 b   |  14 lines

  1. // count.h - Global definitions for the COUNT program.
  2. // Part of the multimodule example program used in the PWB tutorial.
  3. //
  4.  
  5. typedef enum { FALSE = 0, TRUE = 1 } FLAG;
  6.  
  7. FLAG CountWords( FLAG InWord, int nMax );
  8. void Analyze( char code, FLAG InWord );
  9. float Syllables( long cVowels, long cWords );
  10.  
  11. #define BUFFSIZE 512    // Small buffer for debugging
  12. extern char Buffer[BUFFSIZE];
  13. extern long Bytes, Characters, Words, Lines, Letters, Vowels, Sentences;
  14.