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..

See also  Small Business Strategies with Venmo
devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist