64,647
社区成员
发帖
与我相关
我的任务
分享
微软解释:
用于多字节字符编码 (MBCS) 的 MFC 库 (DLL) 不再包含于
Visual Studio 中,但是可用作插件,您可以在任何装有
Visual Studio Professional、Visual Studio Premium 或
Visual Studio Ultimate的计算机上下载和安装。
(在 Visual Studio 中,必须启用 MFC。)
安装需要大约 440 MB 磁盘空间,包括英语(美国)和 DLL 的本地化版本。
在安装 MBCS DLL 后,如果卸载或修复 Visual Studio,则还会卸载或修复。
但是,如果只禁用 MFC,MBCS DLL 仍会保留在系统上。
如果仅卸载或修复 MBCS DLL,将不会修改 Visual Studio。
#include <stdio.h>
#include <tchar.h>
TCHAR strKey[256];
_tprintf(_T("input a strkey: \n"));
_fgetts(strKey,256,stdin);
if (_T('\n')==strKey[_tcslen(strKey)-1]) strKey[_tcslen(strKey)-1]=0;
assert(m_hKey);
assert(strKey);
cout << "input a strKey: \n";
cin >> strKey;
binary '>>' : no operator found which takes a right-hand operand of type 'LPCTSTR' (or there is no acceptable conversion)
请问
这个问题应该怎么解决呢