Mastery 13

Importing and using C++ libraries

This will be useful for the WSQ11 where we had to do what I’m going to explain in order to make the program run. The library is the BigInteger for the YoSoy196 program.

1. You the header file (.h) file in your project as necessary.

2. You list the import library (.lib) in the Linker->Input->Additional Dependencies section of your project settings.

3. You place the DLL itself (.dll) in the same directory as the executable. so it can be found at run time.

It’s super easy, everyone can do it.

Have fun

CC BY 4.0 Mastery 13 by Mauricio Cooper is licensed under a Creative Commons Attribution 4.0 International License.

Comments are closed.