Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
我用QT新建了一个Qt Console Application,然后创建了一个C++类之后在main函数里调用,结果编译报错!!
但是如果是Non-QT Project 就能成功编译,请问这是什么原因?
@Aukid 你好.
补充一下问题描述,类的代码是照抄《C++ Primer 5ed》 里面的,
但是到debug文件下看好像没有给StrVec类生成.obj文件?这是为什么呢?
是不是在strvec.h中忘记写了#endif?
strvec.h