Thread: header files (.h) and dinamic linked librarys

  1. #1
    Registered User
    Join Date
    May 2002

    Question header files (.h) and dinamic linked librarys

    Is there some convention or rule to know what library I need link with my program when I'm unig a header file? or better, is there some relationship between headers files and dinamic librarys, that let me know what libs I should to use?


  2. #2
    Registered User JasonLikesJava's Avatar
    Join Date
    Mar 2002
    Not that I know of.... after a while you just learn them and don't really need an easy way to know when to include and link what.

  3. #3
    Comment your source code! Lynux-Penguin's Avatar
    Join Date
    Apr 2002
    shared libraries (aka so's for shared objects)
    contain precompiled data and function information like
    headerfiles have the written out form of the data but it needs to be grabbed from a file then compiled.
    Neither are better than one another because they all have different purposes.
    Asking the right question is sometimes more important than knowing the answer.
    Please read the FAQ
    C Reference Card (A MUST!)
    Pointers and Memory
    The Essentials
    CString lib

  4. #4
    Registered User zahid's Avatar
    Join Date
    Aug 2001
    If you are asking for C then ..
    You can check the ANSI standard header files.
    Such as

    15 or 17 files... for C

    If you are asking for Linux..
    You have to check for different packages.. for different features.
    [ Never code before desk work ]
    A man who fears Nothing is the man who Loves Nothing
    If you Love Nothing, what joy is there in your life.
    =------------------------------------------------------= - I may be wrong.

Popular pages Recent additions subscribe to a feed