C++中的missing ';' before 'using' 是什么错?
来源:百度知道 编辑:UC知道 时间:2024/06/17 07:14:13
定义了一个类后在实现类的方法的文件中也是有类似错误:
Compiling...
poly.cpp
D:\EXP004\poly.cpp(9) : error C2143: syntax error : missing ';' before 'using'
test.cpp
d:\exp004\test.cpp(5) : error C2143: syntax error : missing ';' before 'PCH creation point'
Error executing cl.exe.
EXP004.exe - 2 error(s), 0 warning(s)
Compiling...
poly.cpp
D:\EXP004\poly.cpp(9) : error C2143: syntax error : missing ';' before 'using'
test.cpp
d:\exp004\test.cpp(5) : error C2143: syntax error : missing ';' before 'PCH creation point'
Error executing cl.exe.
EXP004.exe - 2 error(s), 0 warning(s)
类声明后面有一个分号
比如:
class test{
public:
test()
private:
//
};
那个大括号后有一个分号的.
我想骂人啊- -这是明显的低级错误,就是说你的c++代码有语法上的错误
比如你#include "xxx.h"后你加了';'这样不报错才是怪呢
这二句是说你少了东西了,具体是不是少东西我也很难说,毕竟编译器是死的,只能按你的代码办,具体查出啥错误真的很难说,你也没把东西贴出来,你个尴尬的问问题的- -
这是c#,你选错编译器了
using namespace std;
这样的语句要加分号,加了吗?
发代码看看吧,一下就明白了哈。
missing@@@@@@@@@@@@@@@@@@
my key is missing中的missing怎么是主动的呢
C语言 Function call missing in function main 是什么意思 哪里有错
在C语言中下面语句是什么意思? function call missing> in function main
NTLDR is missing 的问题. 无法启用光驱,找不到C盘,怎么办啊????
重装系统格式化c盘后出现ntldr is missing无法启动xp光盘怎么办?
谁知道c语言中这是什么意思~~~~~'main' : missing storage-class or type specifiers
请问C D盘同时还原了备份镜像出现ntldr is missing的问题
c语言程序错误syntax error : missing ';' before '||'
fly to the sky missing you中的部分歌词中文意思