devxlogo

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

Charlie has over a decade of experience in website administration and technology management. As the site admin, he oversees all technical aspects of running a high-traffic online platform, ensuring optimal performance, security, and user experience.

See also  How Engineering Leaders Spot Weak Proposals

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.