How do i add allegro library used for graphics in my turbo c++ software?
What is allegro? – I couldn’t find the specific library you are talking about, Allegro. Can you provide a link to it? Anyways, I’ll try to answer your questions about libraries in general. How is it used in a c++ program? – A library should provide you with the header files that you #include in your code and the dll files (or obj files) that you pass to the linker. To pass those files to the linker, you can use the various command-line switches that your linker accepts (details vary between compilers but the idea remains the same). Some development environments make this process more user friendly by providing a GUI to choose the libraries that your project links with. Do we need to download it if its not present in the compiler? – You will need to download it. Some libraries are standard (like some math libraries or Windows GUI libraries) but Allegro is something special so it won’t be shipped with your development environment. How do we use its various functions in a C++ program? – Y