摘要: #define _CRT_SECURE_NO_WARNINGS 1 #include<stdio.h> int main() { int a = 10; float f = 10.0; unsigned char;//0 - 255 signed char;//-128 - 127 return 0 阅读全文
posted @ 2022-05-18 13:32 JimJZY 阅读(78) 评论(0) 推荐(0)
摘要: #define _CRT_SECURE_NO_WARNINGS 1 #include<stdio.h> #include<assert.h> 描述一个学生.一些数据 名字 年龄 电话 性别 struct 结构体关键字 Stu - 结构体标签 struct Stu - 结构体类型 struct Stu 阅读全文
posted @ 2022-05-17 11:39 JimJZY 阅读(72) 评论(0) 推荐(0)
摘要: #define _CRT_SECURE_NO_WARNINGS 1 #include<stdio.h> #include<assert.h> 描述一个学生.一些数据 名字 年龄 电话 性别 struct 结构体关键字 Stu - 结构体标签 struct Stu - 结构体类型 struct Stu 阅读全文
posted @ 2022-05-16 22:37 JimJZY 阅读(79) 评论(0) 推荐(0)
摘要: #define _CRT_SECURE_NO_WARNINGS 1 #include<stdio.h> int main() { int a = 0; //~按(2进制)位取反 //00000000000000000000000000000000 //111111111111111111111111 阅读全文
posted @ 2022-05-15 14:02 JimJZY 阅读(108) 评论(0) 推荐(0)
摘要: #define _CRT_SECURE_NO_WARNINGS 1 #include<stdio.h> int main() { int a = 5 % 2;//商2余1 取模分子分母都要为整数 printf("a = %d\n",a); return 0; } int main() { int a 阅读全文
posted @ 2022-05-14 11:54 JimJZY 阅读(90) 评论(0) 推荐(0)
摘要: #define _CRT_SECURE_NO_WARNINGS 1 #include<stdio.h> #include<limits.h> #include<stdlib.h>//system #include<string.h>//strcmp int main() { int a = 3; i 阅读全文
posted @ 2022-05-09 17:08 JimJZY 阅读(71) 评论(0) 推荐(0)