首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > C++ >

error C2664: 不能将参数 一 从“const TCHAR [256]”转换为“const wchar_t *”

2013-08-10 
error C2664: 不能将参数 1 从“const TCHAR [256]”转换为“const wchar_t *”intimage_sizeconst TCHAR ima

error C2664: 不能将参数 1 从“const TCHAR [256]”转换为“const wchar_t *”


int  image_size;
const TCHAR image_size_temp[256];
swscanf(image_size_temp,_T("imagesize=%08d"),&image_size);

[解决办法]


swscanf((const wchar_t *)image_size_temp,_T("imagesize=%08d"),&image_siz

热点排行