devxlogo

Using self-defined libraries

Using self-defined libraries

Question:
I am using Borland Turbo C++ 3.1 and I can’t figureout how to use my self-defined libraries. I’ve used”#include” but I get an error every time I try touse a function from that library. I have a book that shows me how to write the implementation and defenition files, but it doesn’t tell me how to usethem in my program. I’m wondering if you can give me any suggestions.

Answer:
You need to link your library with the application. I am not sure howto do this in the Borland compiler, but you should be able to find something under the Make options..

devx-admin

Share the Post: