.h文件
#include "atlstr.h"
#include "cstringt.h"
CString str;//可以在.cpp文件
把.h文件加入
CString str // error C2065: 'strName' : undeclared identifier
//重新加入上面俩个头文件 也不认识
#include "atlstr.h"
#include "cstringt.h"
CString str;//可以在.cpp文件
把.h文件加入
CString str // error C2065: 'strName' : undeclared identifier
//重新加入上面俩个头文件 也不认识
#pragma once
#endif#ifndef _CSTRING_
#define _CSTRING_
#ifdef _STD_USING
#undef _STD_USING
#include <string.h>
#define _STD_USING
#else
#include <string.h>
#endif /* _STD_USING */
#endif /* _CSTRING_ */
#include <afxwin.h>