16,472
社区成员
发帖
与我相关
我的任务
分享
#ifndef _DEBUG
#include <new>
#endif
BOOL CCRainDlgDlg::OnInitDialog()
{
#ifdef _DEBUG
CString *pstr=new(CString);
#else
CString *pstr=new(std::nothrow)CString;
#endif
*pstr="std::nothrow";
AfxMessageBox(*pstr);