随笔分类 -  c语言

多进程拷贝数据文件
摘要:多进程拷贝数据 #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <sys/mman.h> #include <sys/wait.h> #include <unistd.h> #include <stdi 阅读全文

posted @ 2024-02-26 21:40 wessf 阅读(6) 评论(0) 推荐(0) 编辑

请编写函数fun,它的功能是:求出1到100之内能被7或者11整除, 但不能同时被7和11整除的所有整数,并将他们放在a所指的数组中, 通过n返回这些数的个数
摘要:/2.请编写函数fun,它的功能是:求出1到100之内能被7或者11整除, 但不能同时被7和11整除的所有整数,并将他们放在a所指的数组中, 通过n返回这些数的个数/ #include <stdio.h> #include <string.h> int fun(int *buf) { int i=1 阅读全文

posted @ 2024-02-18 17:01 wessf 阅读(85) 评论(0) 推荐(0) 编辑

1.m个人的成绩存放在score数组中,请编写函数fun, 它的功能是:将低于平均分的人数作为函数值返回, 将低于平均分的分数放在below所指定的数组中。
摘要:/1.m个人的成绩存放在score数组中,请编写函数fun, 它的功能是:将低于平均分的人数作为函数值返回, 将低于平均分的分数放在below所指1定的数组中。/ #include <stdio.h> #include <string.h> int fun(int *buf, int *buff, 阅读全文

posted @ 2024-02-18 16:43 wessf 阅读(125) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

点击右上角即可分享
微信分享提示