Loading ...
Sorry, an error occurred while loading the content.

Re: [blug-prog] will header files get included multiple times?

Expand Messages
  • Anil Kumar Saharan
    ... Although the convetion of using #ifdefs of names in Cap. alphabets is a convention that has been used for long time but, i feel that C being a case
    Message 1 of 3 , Aug 5 9:08 PM
    • 0 Attachment
      > definition errors. To avoid this you'll notice that most standard
      > header
      > files use this structure:
      >
      > #ifndef HEADERFILENAME_H
      > #define HEADERFILENAME_H
      >
      > ... (actual contents) ...
      >
      > #endif

      Although the convetion of using #ifdefs of names in Cap. alphabets is
      a convention that has been used for long time but, i feel that C
      being a case sensitive language, we should use the filename itself
      for such file specific dependencies.

      Anil


      __________________________________________________
      Do You Yahoo!?
      Make international calls for as low as $.04/minute with Yahoo! Messenger
      http://phonecard.yahoo.com/
    Your message has been successfully submitted and would be delivered to recipients shortly.