vc控制台程序中如何使用cstring类的函数,头文件怎么包含?
1.project->setting->general 里的Microsoft Foundmation class选择“Use MFC in a Shared DLL”,再包含<afx.h>就行了。
2.直接include <afx.h>
3.#include <atlstr.h>
1.project->setting->general 里的Microsoft Foundmation class选择“Use MFC in a Shared DLL”,再包含<afx.h>就行了。
2.直接include <afx.h>
3.#include <atlstr.h>