小白来了.3
#include <stdio.h>#include <math.h>
int main()
{
char a = "C";
printf("%c = %d\n", a, a);
return 0;
}
上面的代码为什么会打印出来一个像$的符号呢
实在Virtual Studio
又是环境问题吗 为啥是双引号呢……应该是单引号
#include <stdio.h>
#include <math.h>
int main()
{
char a = 'C';
printf("%c = %d\n", a, a);
return 0;
}
我这里运行的没问题,你用上面的代码再试试?
三体人的智子 发表于 2024-8-9 18:48
为啥是双引号呢……应该是单引号
啊啊,抱歉,被python惯坏了{:9_226:} 希儿的 发表于 2024-8-9 19:39
啊啊,抱歉,被python惯坏了
没问题的话求个最佳{:10_254:} 三体人的智子 发表于 2024-8-10 08:58
没问题的话求个最佳
最佳又什么用呢 希儿的 发表于 2024-8-10 13:50
最佳又什么用呢
你先加入互助团队,团队每个月都是有排名的。
每个月一号会有结算。
https://fishc.com.cn/thread-83673-1-1.html
https://fishc.com.cn/thread-83715-1-1.html 希儿的 发表于 2024-8-10 13:50
最佳又什么用呢
帮助他人,充实自己!
{:5_102:}
页:
[1]