The Use of Extern

This is a discussion on The Use of Extern within the C Programming forums, part of the General Programming Boards category; The authors of 'The C Programming Language' leave me unsure in the use of extern when utilizing one source file. ...

  1. #1
    Registered User
    Join Date
    May 2010
    Posts
    178

    The Use of Extern

    The authors of 'The C Programming Language' leave me unsure in the use of extern when utilizing one source file. Can someone explain when extern should be used?

  2. #2
    Registered User
    Join Date
    May 2009
    Posts
    2,768
    If you have only a single source file, then it is very unlikely you will need to ever use extern in it.

    Tim S.
    "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the Universe is winning." Rick Cook

  3. #3
    Registered User
    Join Date
    Nov 2010
    Location
    Long Beach, CA
    Posts
    5,676

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. how extern is extern?
    By davo666 in forum C Programming
    Replies: 11
    Last Post: 03-05-2009, 04:45 AM
  2. Replies: 17
    Last Post: 12-15-2006, 11:02 AM
  3. Using extern C and mfc?
    By seizmic in forum C++ Programming
    Replies: 2
    Last Post: 10-22-2005, 02:31 PM
  4. using extern, please help
    By Stevo in forum C++ Programming
    Replies: 2
    Last Post: 10-10-2004, 07:18 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21