error C2556: 'void __thiscall ::sendCommand1(unsigned int,const char *,int)' : overloaded function differs only by return type from 'int __thiscall
error C2371: 'sendFtCommand1' : redefinition; different basic types
这个错误是这样产生的:
在 .cpp文件中 为
void A::B()
而在.h 文件中声明时没有 写返回类型,而只写了B()
不细心产生的错误。