home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- Path: sparky!uunet!ulowell!cs.ulowell.edu!vpham
- From: vpham@cs.ulowell.edu (vinh)
- Subject: Where to include
- Message-ID: <C0ID0z.504@ulowell.ulowell.edu>
- Sender: usenet@ulowell.ulowell.edu (News manager - ulowell)
- Organization: University of Massachusetts at Lowell Computer Science
- Date: Thu, 7 Jan 1993 23:53:22 GMT
- Lines: 23
-
-
-
- fun()
- {
- }
-
- #include <stdio.h>
-
-
- fun2()
- {
- printf("test...");
- }
-
- we argued at work about where to put stdio.h; obviously fun()
- isn't calling anything declared in <stdio.h>, so don't think
- stdio.h should be included at the beginning of the file; my
- co-fellow worker thinks it's ugly ; what do you think?
- what does the standard say? what does K&R say?
-
-
-
-
-