header file question

This is a discussion on header file question within the C Programming forums, part of the General Programming Boards category; If I was to make a new header file(.h) and include every library in it to easily include them in ...

  1. #1
    Perverted unanimous's Avatar
    Join Date
    Oct 2001
    Posts
    336

    Post header file question

    If I was to make a new header file(.h) and include every library in it to easily include them in my program, would it make it very large?
    Last edited by unanimous; 12-15-2001 at 05:32 PM.
    Give me a bad reputation!!!

  2. #2
    Linguistic Engineer... doubleanti's Avatar
    Join Date
    Aug 2001
    Location
    CA
    Posts
    2,459
    libraries are linked into at compile time... if what you meant was that you'd include all other headers... then yes, you would have a very large exe... but if you only do the ones you want for organization, that's a good practice... and if you did link to all libraries, you'd surely get a large executable... also, when you include particular headers, you are automatically linked to the appropriate libraries...
    hasafraggin shizigishin oppashigger...

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. A development process
    By Noir in forum C Programming
    Replies: 37
    Last Post: 07-10-2011, 10:39 PM
  2. Checking array for string
    By Ayreon in forum C Programming
    Replies: 87
    Last Post: 03-09-2009, 03:25 PM
  3. Simple File encryption
    By caroundw5h in forum C Programming
    Replies: 2
    Last Post: 10-13-2004, 10:51 PM
  4. Making a LIB file from a DEF file for a DLL
    By JMPACS in forum C++ Programming
    Replies: 0
    Last Post: 08-02-2003, 08:19 PM
  5. Need a suggestion on a school project..
    By Screwz Luse in forum C Programming
    Replies: 5
    Last Post: 11-27-2001, 01:58 AM

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