关于这个错误我遇到了两种情况:
1.数组下标问题
char szBuffer[64];
int nTest = szBuffer(0); // 注意到了没有?[]写成了(),果然是VB写多了
2.将类成员的后面加了(),被当做函数调用
反正总是跟()有关,仔细看看吧。
知识共享署名-非商业性使用-相同方式共享:码农场 » 总结 error C2064: term does not evaluate to a function
关于这个错误我遇到了两种情况:
1.数组下标问题
char szBuffer[64];
int nTest = szBuffer(0); // 注意到了没有?[]写成了(),果然是VB写多了
2.将类成员的后面加了(),被当做函数调用
反正总是跟()有关,仔细看看吧。
知识共享署名-非商业性使用-相同方式共享:码农场 » 总结 error C2064: term does not evaluate to a function
好!