MessageBox("love");
显示:错误 1 error C2664: “CWnd::MessageBoxW”: 不能将参数 1 从“const char [5]”转换为“LPCTSTR”
MessageBox(_T("love"));
通过。输出了 love。
MessageBox((LPCTSTR)"love");
通过。输出为空。