warning C4130: '==' : logical operation on address of string constant

環境:vs2010,c++c++ #define UNIT_FONTSIZE _T("rem") if(UNIT_FONTSIZE == _T("rem")) { //... } 代碼有警告:code warning C4130: '==' : logical operation on address of string constantrem 修改:get 使用_tcscmp代替==進行判斷st
相關文章
相關標籤/搜索