头文件上应该如何包含,我要使用strtok()函数。
以下方法试过了,没有用:
1.project->setting->general 里的Microsoft Foundmation class选择“Use MFC in a Shared DLL”,再包含<afx.h>就行了。
2.直接include <afx.h>
3.#include <atlstr.h>
參考答案:我只用了上面的两个就可以使用CString了。
头文件上应该如何包含,我要使用strtok()函数。
以下方法试过了,没有用:
1.project->setting->general 里的Microsoft Foundmation class选择“Use MFC in a Shared DLL”,再包含<afx.h>就行了。
2.直接include <afx.h>
3.#include <atlstr.h>
參考答案:我只用了上面的两个就可以使用CString了。