Static Library -- create and use C++ static library


Walkthrough: Creating and Using a Static Library (C++)

MS的官方文档:

https://docs.microsoft.com/en-us/cpp/build/walkthrough-creating-and-using-a-static-library-cpp?view=vs-2019

This step-by-step walkthrough shows how to create a static library (.lib file) for use with C++ apps. Using a static library is a great way to reuse code. Rather than reimplementing the same routines in every app that requires the functionality, you write them one time in a static library and then reference it from the apps. Code linked from a static library becomes part of your app—you don’t have to install another file to use the code. 

发布了359 篇原创文章 · 获赞 87 · 访问量 23万+

猜你喜欢

转载自blog.csdn.net/qq_35865125/article/details/104351134