DrawEngine有什么问题? [英] What is wrong about the DrawEngine?
本文介绍了DrawEngine有什么问题?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嘿,已经有一段时间了,我回到了我的c ++代码的另一个问题...
这次是关于标题函数(我的DrawEngine.cpp文件中的构造函数DrawEngine(包含在此中的DrawEngine.h文件,如下所示)...
错误:第7行,预期不合格的id之前" int"
错误:第7行,预期""之前int
DrawEngine.cpp:
Hey, it has been a while and I''m back with another problem with my c++ code...
This time it''s about a header function (the constructor DrawEngine) in my DrawEngine.cpp file(the DrawEngine.h file that is included in this, is down below)...
Error: line 7, expected unqualified-id before "int"
Error: line 7, expected ")" before "int"
DrawEngine.cpp:
展开 | 选择 | 换行 | 行号
推荐答案
DrawEngine :: DrawEngine() DrawEngine.cpp中的东西?然后我得到错误:'DrawEngine :: DrawEngine(int,int)''的多个定义
The "DrawEngine::DrawEngine()" thing in DrawEngine.cpp? then I get the error: multiple definition of `DrawEngine::DrawEngine(int, int)''
我不得不重新考虑一下,你使用的命名空间是什么?
还有一些关于你如何拥有line7的东西不正确......不应该吗?
I had to rethink that, what is the namespace you are using?
Also something about how you have line7 doesn''t read right... shouldn''t be?
展开 | 选择 | Wrap | 行号
类名称/类的名称是DrawEngine
它'和
The Namespace/the name of the class is "DrawEngine"
It''s the same as
展开 | 选择 | Wrap | 行号
这篇关于DrawEngine有什么问题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文