请教高手,vc中export是干什么的
请问高手,vc中export是干什么的
我看到这样一个函数声明:
void export freelibary();
但不知道export是什么意思
请教
------解决方案--------------------
The export keyword is intended to allow definitions of C++ templates to be separated from their declarations. While officially part of the C++ standard, the export keyword is only supported by a few compilers (such as the Comeau C++ compiler) and is not supported by such mainstream compilers as GCC and Visual C++.
------解决方案--------------------
export就是导出一个东西(比如一个函数),一般是在Dll编程中,其他模块调用库中的一个函数,就将该函数声明为export,其他函数通过import调用它.
我看到这样一个函数声明:
void export freelibary();
但不知道export是什么意思
请教
------解决方案--------------------
The export keyword is intended to allow definitions of C++ templates to be separated from their declarations. While officially part of the C++ standard, the export keyword is only supported by a few compilers (such as the Comeau C++ compiler) and is not supported by such mainstream compilers as GCC and Visual C++.
------解决方案--------------------
export就是导出一个东西(比如一个函数),一般是在Dll编程中,其他模块调用库中的一个函数,就将该函数声明为export,其他函数通过import调用它.