home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / lang / c / 19392 < prev    next >
Encoding:
Text File  |  1993-01-07  |  708 b   |  34 lines

  1. Newsgroups: comp.lang.c
  2. Path: sparky!uunet!ulowell!cs.ulowell.edu!vpham
  3. From: vpham@cs.ulowell.edu (vinh)
  4. Subject: Where to include
  5. Message-ID: <C0ID0z.504@ulowell.ulowell.edu>
  6. Sender: usenet@ulowell.ulowell.edu (News manager - ulowell)
  7. Organization: University of Massachusetts at Lowell Computer Science
  8. Date: Thu, 7 Jan 1993 23:53:22 GMT
  9. Lines: 23
  10.  
  11.  
  12.  
  13. fun()
  14. {
  15. }
  16.  
  17. #include <stdio.h>
  18.  
  19.  
  20. fun2()
  21. {
  22.     printf("test...");
  23. }
  24.  
  25. we argued at work about where to put stdio.h; obviously fun()
  26. isn't calling anything declared in <stdio.h>, so  don't think
  27. stdio.h should be included at the beginning of the file; my
  28. co-fellow worker thinks it's ugly ; what do you think?
  29. what does the standard say? what does K&R say?
  30.  
  31.  
  32.  
  33.  
  34.