问题描述
为什么我应该在项目中包含一些 *.lib、.h 或一些其他文件?这些东西是干什么用的?
Why in a project should I include some *.lib, .h or some other files? And what are these things used for?
推荐答案
.h:头文件,它是一个包含声明的源文件(与包含实现的 .cpp、.cxx 等相反),.h: header file, its a source file containing declarations (as opposed to .cpp, .cxx, etc. containing implementations),.lib:静态库可能包含代码或只是指向动态库的链接.无论哪种方式,它都是与程序链接的编译代码.静态库在链接时包含在您的 .exe 中..lib: static library may contain code or just links to a dynamic library. Either way it's compiled code that you link with your program. The static library is included in your .exe at link time..dll:动态库.就像静态文件一样,但您需要将它与 .exe 文件一起部署,因为它是在运行时加载的..dll: dynamic library. Just like a static one but you need to deploy it with your .exe file because it's loaded at run time.这篇关于.dll、.lib、.h 文件之间有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!
The End


大气响应式网络建站服务公司织梦模板
高端大气html5设计公司网站源码
织梦dede网页模板下载素材销售下载站平台(带会员中心带筛选)
财税代理公司注册代理记账网站织梦模板(带手机端)
成人高考自考在职研究生教育机构网站源码(带手机端)
高端HTML5响应式企业集团通用类网站织梦模板(自适应手机端)