摘要: 32位 64位 阅读全文
posted @ 2019-12-09 15:43 jason2018 阅读(490) 评论(0) 推荐(0) 编辑
摘要: 1 #include<stdio.h> 2 3 int is_hex(char ch); //判断是否是十六进制字符,是返回1 4 int hex_to_dec(char ch); //十六进制字符转换位十进制数 5 int main(void) 6 { 7 char a[80], b[80]; 8 阅读全文
posted @ 2019-12-09 15:15 jason2018 阅读(2117) 评论(0) 推荐(0) 编辑
摘要: 1 #include<stdio.h> 2 3 int main(void) 4 { 5 char a[80], b[80]; 6 int i; 7 8 i = 0; //有效字符的个数 9 10 while (i < 80) 11 { 12 a[i] = getchar(); 13 if (a[i 阅读全文
posted @ 2019-12-09 12:02 jason2018 阅读(827) 评论(0) 推荐(0) 编辑
摘要: 1 #include<stdio.h> 2 3 int main(void) 4 { 5 char a[80]; 6 int i; 7 8 i = 0; 9 while ((a[i] = getchar()) != '\n') 10 { 11 i++; 12 } 13 a[i] = '\0'; 14 阅读全文
posted @ 2019-12-09 10:13 jason2018 阅读(932) 评论(0) 推荐(0) 编辑
摘要: 1 #include<stdio.h> 2 3 int main(void) 4 { 5 int n; 6 int a[6][6]; 7 int row_max[6]; //每 一行的最大数 8 int col_min[6]; //每一列的最大数 9 10 scanf_s("%d", &n); 11 阅读全文
posted @ 2019-12-09 09:09 jason2018 阅读(718) 评论(0) 推荐(0) 编辑