How to “add reference” in C++
问题 I'm new to C++ and there's something I just completely don't get. In C#, if I want to use an external library, log4net for example, I just add a reference to the log4net DLL and its members are automatically available to me (and in IntelliSense). How do I do that in non-managed C++? 回答1: Often, the library comes with 1) a header file (.h) and 2) a .lib file in addition to the .dll. The header file is #include'ed in your code, to give you access to the type and function declarations in the