摘要: #define _CRT_SECURE_NO_WARNINGS#include<stdio.h>#include<string.h>#include<stdlib.h>#include<math.h>#include<time.h> int main(){ char ch; scanf("%c", 阅读全文
posted @ 2020-08-05 19:31 wh19991213 阅读(233) 评论(0) 推荐(0) 编辑
摘要: #define _CRT_SECURE_NO_WARNINGS #include<stdio.h> #include<string.h> #include<stdlib.h> #include<math.h> #include<time.h> int main01() { int a =10; // 阅读全文
posted @ 2020-08-05 19:08 wh19991213 阅读(599) 评论(0) 推荐(0) 编辑
摘要: 1)有符号字符型:(signed char)8bit数据存储区间为-2^7——2^7-1;-128——127 8bit数据最大存储值/一定是正数 原/反/补码:0 111 1111=1000 0000-1=2^7-1=127//最大值 8bit数据最小存储值 原码:1111 1111=-127 反码 阅读全文
posted @ 2020-08-05 11:48 wh19991213 阅读(884) 评论(0) 推荐(0) 编辑