【发布时间】:2013-02-28 21:44:33
【问题描述】:
好的,我有几条错误消息,但我被卡住了。只是看看是否有人可以在这里帮助我,将不胜感激。
这是错误信息:
bibleajax.cpp:在函数âint main()中:
bibleajax.cpp:92: error: no matching function for call to Bible::lookup(Verse&, LookupResult&)
Bible.h:32: 注意:候选者是:const Verse Bible::lookup(Ref, LookupResult&) make: * [bibleajax.o] 错误 1
这是第 92 行:
Ref nRef;
Verse nVerse;
for (int t = 0; t < num; t++){
do {
nRef = kjv.lookup(nVerse, result);
nVerse = kjv.lookup(nRef, result);
}
while (result != ch && result != no_chapter);
【问题讨论】:
标签: class function lookup matching member