Multithreaded, static link
/MT
_MT
MSVCPRT.LIB
Multithreaded, dynamic link (import library for MSVCP70.dll)
/MD
_MT, _DLL
LIBCPD.LIB
Single-threaded, static link
/MLd
_DEBUG
LIBCPMTD.LIB
Multithreaded, static link
/MTd
_DEBUG, _MT
MSVCPRTD.LIB
Multithreaded, dynamic link (import library for MSVCP70.DLL)
/MDd
_DEBUG, _MT, _DLL
Table 3: Standard C++ libraries
The Standard C++ Library and the old iostream library are incompatible,
that is they cannot be mixed and only one of them can be linked with your project.
特别需要注意的是:标准C++库和老版本的iostream库文件是不兼容的,
因此在程序中不能混合使用,在同一程序里面只能链接一个库到你的应用软件项目。
The old iostream library created when the standard is not matured yet.
When you build a release version of your project, one of the basic C run-time libraries
(LIBC.LIB, LIBCMT.LIB, and MSVCRT.LIB) is linked by default, depending on the compiler option you choose
(single-threaded, multithreaded, or DLL).
老版本iostream库文件产生的时候,C++标准还不成熟。
当你需要生成发布版本的应用软件的时候,默认会链接基础