MFC学习第二天_02(错误:没有参数列表匹配的重载函数)

错误提示:没有与参数列表匹配的 重载函数 "ATL::CStringT<BaseType, StringTraits>::Format [其中 BaseType=wchar_t, StringTraits=StrTraitMFC_DLL<wchar_t, ATL::ChTraitsCRT<wchar_t>>]" 实例  

解决办法:Number.Format(L"N%d\t",i+1);或者Number.Format(_T("N%d\t"),i+1);

在项目属性->常规中,将“字符集”从“使用Unicode字符集”改成“使用多字节字符集”

发布了10 篇原创文章 · 获赞 4 · 访问量 1900

猜你喜欢

转载自blog.csdn.net/enjoybocai/article/details/105395683