Advertisement
BorjaTarraso

count_words.c

Oct 16th, 2011
276
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.33 KB | None | 0 0
  1. /* This is only instructional code for teaching purposes */
  2. /* Author: Borja Tarraso */
  3.  
  4. #include <stdio.h>
  5.  
  6. extern int fee_count, fie_count, foe_count, fum_count;
  7. extern int yylex( void );
  8.  
  9. int main( int argc, char *argv[] )
  10. {
  11.   yylex();
  12.   printf("%d %d %d %d\n", fee_count, fie_count, foe_count, fum_count);
  13.   return 0;
  14. }
  15.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement