A library is a collection of one or more object files.
When you supply an object file, the linker will include it in your
program.
When you supply a library file, the linker will look at the object files
inside the library and extract and include just the object files that is
needed to resolve all symbols in your program.
/Per W
On Sat, 10 Jul 2004, Noorez Kassam wrote:
> What is the difference between library files and object files. Some c++
> tutorials that I have read confused me! Both have the definition of
> functions and they are both linked into your program when it is built. So
> what is the difference?
>
> _________________________________________________________________
> MSN Premium helps eliminate e-mail viruses. Get 2 months FREE*
> http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines
>
>
>
> -------------------------------------------------------
> This SF.Net email sponsored by Black Hat Briefings & Training.
> Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
> digital self defense, top technical experts, no vendor pitches,
> unmatched networking opportunities. Visit www.blackhat.com
> _______________________________________________
> Dev-cpp-users mailing list
> Dev...@li...
> TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm
> https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
>
|