每次在写DLL相关的代码时,遇到这个单词__declspec常是记不住,不行就复制。Google一下发现:
The __declspec keyword must prefix the declaration specification
简单的可以理解为“声明规范”。
The __declspec keyword must prefix the declaration specification
简单的可以理解为“声明规范”。
__declspec关键字用于C++中,必须前置声明规范。本文解释了其基本含义,帮助读者更好地掌握DLL编程中该关键字的使用。
3020

被折叠的 条评论
为什么被折叠?