奇怪的)预期的错误 [英] strange ) expected error

查看:95
本文介绍了奇怪的)预期的错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的代码在我的一个类的标题中:

i have this code in the header of one of my classes:

展开 | 选择 | Wrap | 行号

推荐答案


i在我的一个类的标题中有这个代码:

i have this code in the header of one of my classes:

展开 | 选择 | Wrap | 行号


使用头文件和cpp文件定义Civilian类,并且每个函数都在cpp中定义。


我得到其他错误,但他们都是在那之后,似乎预期会引起另外两个...
the Civilian class is defined with a header and cpp files and every function is defined in the cpp.

im getting other errors but theyre all after that one and it seems the ) expected is causing the other two...


我注意到一件奇怪的事情发生了也许有人可以解释......我的所有代码编译完全正常,直到我包含民用标题。
i noticed a peculiar thing happening maybe someone could explain... all my code compiles perfectly fine until i include the civilian header.
展开 | 选择 | Wrap | 行号


这篇关于奇怪的)预期的错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆