bool 数组的每个元素都是 char 大小,可以直接 reinterpret_cast<char*>
改成 if(strcmp((*s).book,dictList[i].book)>=0 && strcmp((*s).book,dictList[i+1].book)<=0)
我不认为这与boost::variant有什么特别的关系,关键在于通过重载解析来选择哪个构造函数。同样的情况发生在...
fopen 失败时,fp 就等于 NULL, 打印信息 can't open file HTKNEW.DAT。
aIncompatible pointer to integer conversion sending \'UserView2 *const __strong\' to parameter of type \'BOOL\' (aka \'signed char\') 不相容的尖到整数转换送\ ‘UserView2 *const __strong \’到类型\ ‘BOOL \’ aka \ (‘签字的炭灰的参量\’)[translate]...
aIncompatible pointer to integer conversion sending \'UserView2 *const __strong\' to parameter of type \'BOOL\' (aka \'signed char\') 不相容的尖到整数转换送\ ‘UserView2 *const __strong \’到类型\ ‘BOOL \’ aka \ (‘签字的炭灰的参量\’)[translate]...