Click here to Skip to main content
15,892,537 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
How can I use a class contained in a .lib file generated during its compilation in borland C++ 5.5.

Is there any preprocessor directive ?
Posted
Updated 3-Jun-13 5:03am
v2

1 solution

No. (You don't really understand what a preprocessor does, please read about it, and avoid using it unless absolutely needed. You also need to learn the build process: what a compiler, linker, system process loaded do.)

Library is used at the level of linking, not compilation: http://en.wikipedia.org/wiki/Linker_%28computing%29[^].

This is done by parameters passed to the linker. Borland IDE provides project and environment options for linker input, path for location of link libraries and object files and so on. Please scan you IDE UI for the menu and option windows to find it out.

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900