会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
小团熙
博客园
首页
新随笔
联系
订阅
管理
2022年3月25日
demo_3_25
摘要: 1 #define _CRT_SECURE_NO_WARNINGS 1 2 #include <stdio.h> 3 #include <stdlib.h> 4 #include <string.h> 5 #include <math.h> 6 //文件类型的指针 7 int main() 8 {
阅读全文
posted @ 2022-03-25 22:04 小团熙
阅读(26)
评论(0)
推荐(0)
2022年3月24日
demo_3_24
摘要: 1 #define _CRT_SECURE_NO_WARNINGS 1 2 #include <stdio.h> 3 #include <stdlib.h> 4 #include <string.h> 5 struct date 6 { 7 int _year; 8 int _month; 9 in
阅读全文
posted @ 2022-03-24 21:55 小团熙
阅读(25)
评论(0)
推荐(0)
2022年3月23日
demo_3_23
摘要: 1 void Avg(int score[][5], int n) 2 { 3 double sum = 0; 4 for (int i = 0; i < 4; i++) 5 { 6 sum += *(*(score + i) + 0); 7 } 8 printf("第一门课程的平均分:%f\n",
阅读全文
posted @ 2022-03-23 22:18 小团熙
阅读(21)
评论(0)
推荐(0)
2022年3月22日
demo_3_22
摘要: 1 #define _CRT_SECURE_NO_WARNINGS 1 2 #include <stdio.h> 3 #include <stdlib.h> 4 #include <math.h> 5 6 //穷举法--效率不高 7 int gcd(int a, int b) 8 { 9 int g
阅读全文
posted @ 2022-03-22 23:02 小团熙
阅读(71)
评论(0)
推荐(0)
2022年3月21日
demo_3_21
摘要: 1 #define _CRT_SECURE_NO_WARNINGS 1 2 #include <stdio.h> 3 #include <stdlib.h> 4 int main() 5 { 6 int array[100]; 7 //向array数组中填充1~100所有数据 8 for (int
阅读全文
posted @ 2022-03-21 22:03 小团熙
阅读(49)
评论(0)
推荐(0)
2022年3月20日
demo_3_20
摘要: 1 #define _CRT_SECURE_NO_WARNINGS 1 2 #include <stdio.h> 3 #include <stdlib.h> 4 #include <math.h> 5 #include <string.h> 6 7 int main() 8 { 9 int n =
阅读全文
posted @ 2022-03-20 22:29 小团熙
阅读(39)
评论(0)
推荐(0)
2022年3月19日
demo_3_19
摘要: 1 #define _CRT_SECURE_NO_WARNINGS 1 2 #include <stdio.h> 3 #include <stdlib.h> 4 int d = 1; 5 void fun(int p) 6 { 7 int d = 5; 8 d += p++; 9 printf("%
阅读全文
posted @ 2022-03-19 22:18 小团熙
阅读(43)
评论(0)
推荐(0)
2022年3月18日
demo_3_18
摘要: 1 #define _CRT_SECURE_NO_WARNINGS 1 2 #include <stdio.h> 3 #include <stdlib.h> 4 void fun(int *s, int n1, int n2) 5 { 6 int i, j, t; 7 i = n1; 8 j = n
阅读全文
posted @ 2022-03-18 22:02 小团熙
阅读(16)
评论(0)
推荐(0)
2022年3月17日
demo_3_17
摘要: 1 #define _CRT_SECURE_NO_WARNINGS 1 2 #include <stdio.h> 3 #include <stdlib.h> 4 #include <ctype.h> 5 #include <string.h> 6 void fun(char *p) 7 { 8 in
阅读全文
posted @ 2022-03-17 22:53 小团熙
阅读(44)
评论(0)
推荐(0)
2022年3月16日
demo_3_16
摘要: #define _CRT_SECURE_NO_WARNINGS 1 #include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> int main() { char p[20] = { 'a', 'b', '
阅读全文
posted @ 2022-03-16 22:42 小团熙
阅读(26)
评论(0)
推荐(0)
下一页
公告