Compile Error

B2018 打印字符

@[zqr2013](/user/1137338) namespace 拼错了。
by xiaoshumiao @ 2024-02-02 20:11:54


谢谢,知道了
by zqr2013 @ 2024-02-02 20:20:22


@[zqr2013](/user/1137338) 6,你这都不看编译详情的……
by Lemon_zqp @ 2024-02-02 20:29:12


6
by cff_0102 @ 2024-02-02 20:30:15


@[zqr2013](/user/1137338) 你ide过了吗 namespace能拼错
by liverxiwo @ 2024-02-02 20:39:50


木有
by zqr2013 @ 2024-02-02 20:42:56


牛啊! namespace 能打错
by Dream00882 @ 2024-03-23 11:22:31


``` #include <iostream> using namespace std; int main() { int a; char b; cin>>a; b=(char)a; cout<<b<<endl; return 0; } ```
by yuzhang_chen @ 2024-04-16 13:50:45


```cpp #include<bits/stdc++.h> using namespace std; int main(){ int a; cin>>a; cout<<(char)a; return 0; } ``` 说实话我也经常敲错quq 你可以在IDE上先编译一下[洛谷IDE](https://www.luogu.com.cn/ide) 求关qaq@[zqr2013](/user/1137338)
by Cute_QiQi @ 2024-05-03 20:08:44


拼写错了,我教你一个很缄頕的方法 ```cpp #include <bits/stdc++.h> #define CNMLGB int n;cin>>n;cout<<char(n); using namespace std; int main() { CNMLGB return 0; } ```
by tuling_DZC @ 2024-07-06 11:54:50


| 下一页