百度试题 结果1 题目error C2137: empty character constant。 中文对照:(编译错误)字符型常量为空相关知识点: 试题来源: 解析 分析:一对单引号“''”中不能没有任何字符 反馈 收藏
error C2137: empty character constant 编号:C2137 直译:空的字符定义。 错误分析: 原因是连用了两个单引号,而中间没有任何字符。一般的,单引号表示字符型常量,单引号中必须有,也只能有一个字符(使用转义符时,转义符所表示的字符当作一个字符看待)。两个单引号之间不加任何内容是不允许的。 案例: #include<st...
ano zuo no die why you try 下联:no try no high give me five 横批: let it go。 没有zuo没有模子为什么您尝试下联:尝试没有高不给我五横批: 让它去。[translate] aElapsed Time 共用的时间[translate] aerror C2137: empty character constant 错误C2137 : 空的字符常量[translate]...
待解决 悬赏分:1 - 离问题结束还有 error C2137: empty character constant问题补充:匿名 2013-05-23 12:21:38 错误C2137 :空字符常量 匿名 2013-05-23 12:23:18 错误C2137 :空的字符常量 匿名 2013-05-23 12:24:58 错误C2137 : 空的字符常量 匿名 2013-05-23 12:26:38 错误C2137:...
include<iostream>using namespace std;int main(){cout<<'A'<<' '<<'a'<<endl; //C++不允许有空的单字符,你要么不写,要么加上个空格!cout<<"one\ttwo\tthree\n";return 0;}
能把相关代码粘贴出来看些吗?一般可能是你没有包含相关头文件(如:#include <iostream.h>)或者是相关命名空间(如:using namespace std;)
error C2018: unknown character '0xhh' 中文对照:(编译错误)未知的字符0xhh 分析:一般是输入了中文标点符号,例如“char error = 'E';”中“;”为中文标点符号 error C2019: expected preprocessor directive, found 'character' 中文对照:(编译错误)期待预处理命令,但有无效字符 ...
16 error C2021: expected exponent value, not 'character' 中文对照:(编译错误)期待指数值,不能是字符 分析:一般是浮点数的指数表示形式有误,例如123.456E 17 error C2039: 'identifier1' : is not a member of 'identifier2' 中文对照:(编译错误)标识符1不是标识符2的成员 ...
aIf it's been turned off, click on the Tools toolbar to open it. 如果它被关闭了,点击 在打开它的工具工具栏。[translate] aC:\Documents and Settings\Administrator\桌面\hxx.c(4) : error C2137: empty character constant 正在翻译,请等待...[translate]...
那是双引号不是两个单引号。。。