home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cs.utexas.edu!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!usenet.coe.montana.edu!news.u.washington.edu!milton!chuckb
- From: chuckb@milton.u.washington.edu (Chuck Bass)
- Newsgroups: comp.lang.c
- Subject: Re: Most difficult part of learning C?
- Message-ID: <chuckb.714980690@milton>
- Date: 28 Aug 92 05:44:50 GMT
- References: <1992Aug25.180919.10370@samba.oit.unc.edu> <behrenss.714775792@hphalle6> <chuckb.714781695@milton> <17g9mlINNsu1@early-bird.think.com> <1992Aug27.005328.3075@kong.gsfc.nasa.gov> <15232@ksr.com>
- Sender: news@u.washington.edu (USENET News System)
- Organization: University of Washington
- Lines: 21
-
- One source of confusion that I had was the preprocessor. Not
- with macros or defines but having multiple declarations of
- variables, typedefs, structures when files were included more
- than once for some reason. This of course leads to
- understanding whe the following is at the top of many headers:
-
- #ifndef _THIS_HEADER_DEFINED
- #define _THIS_HEADER_DEFINED
- ;
- ;your header stuff goes here
- ;
- ;
- #endif
-
- I pulled a few hairs catching this little problem.
-
-
- Chuck Bass
- College of Forest-Systems Engineering
- University of Washington
- chuckb@u.washington.edu
-