![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
笔记
阿木木木-
00
展开
-
使用int直接转换为char的方式为什么不对哪?
嗯,要回答这个问题需要弄明白char的本质了char: The char data type is a single 16-bit Unicode character. It has a minimum value of ‘\u0000’ (or 0) and a maximum value of ‘\uffff’ (or 65,535 inclusive).char这种简单的java数据类型特点如下:1:是java语言中8种基本数据类型中的一种2:它占两个字节十六位3:最小值是0,最大值是655原创 2022-01-29 20:47:20 · 1028 阅读 · 0 评论 -
关于flag控制空格,及强转溢出判断
原创 2021-10-27 00:06:38 · 108 阅读 · 0 评论 -
2021-10-18
code bloks文档代替输入输出加两行代码只是不用手输入黑框不见输出只是转移位置源程序不变原创 2021-10-18 19:23:42 · 50 阅读 · 0 评论 -
2021-10-06
关于非整数字符的输入输出一系列练习#include <stdio.h>int main(){ char a;scanf("%c",&a);printf("%d",a); return 0;}原创 2021-10-06 20:38:04 · 59 阅读 · 0 评论