我为了给我的工程添加已有的类,将类的cpp和h文件拷入工程目录下,并project->add to project->files将他们加入。
之后删除工程的.clw文件,再view->classwizard,出现select sorce files 框,选择add all,点击OK,出现下面提示框:cannot find the implementation file of class "***". continue creating the ClassWizard database?反复测试,结果都是一样,而且提示的类是在该工程内写的,而不是通过cpp和h文件添加的类。有没有谁遇到过这种情况?该如何解决?