摘要: 任务4 #define _CRT_SECURE_NO_WARNINGS#include<stdio.h>int main(){ long i = 0; char ch; FILE* fp; fp = fopen("c://data//data4.txt", "r"); while (!feof(fp 阅读全文
posted @ 2023-12-17 11:30 Sn002 阅读(11) 评论(0) 推荐(0)
摘要: 任务4 1 #include <stdio.h> 2 #include<stdlib.h> 3 #define N 10 4 5 typedef struct { 6 char isbn[20]; // isbn号 7 char name[80]; // 书名 8 char author[80]; 阅读全文
posted @ 2023-12-11 19:28 Sn002 阅读(19) 评论(0) 推荐(0)
摘要: 实验1 1 #include <stdio.h> 2 #include<stdlib.h> 3 #define N 5 4 5 void input(int x[], int n); 6 void output(int x[], int n); 7 void find_min_max(int x[] 阅读全文
posted @ 2023-11-27 17:16 Sn002 阅读(10) 评论(0) 推荐(0)
摘要: 任务1 #include <stdio.h> #include<stdlib.h> #define N 4 void test1() { int a[N] = {1, 9, 8, 4}; int i; // 输出数组a占用的内存字节数 printf("sizeof(a) = %d\n", sizeo 阅读全文
posted @ 2023-11-13 22:28 Sn002 阅读(9) 评论(0) 推荐(0)
摘要: 1.实验任务1 每间隔1秒生成随机位置的hi Novermber 实验任务2 实验任务3 实验任务4 实验任务5 实验任务6 阅读全文
posted @ 2023-10-31 11:53 Sn002 阅读(13) 评论(0) 推荐(0)
摘要: 一.实验任务一 源码 #include <stdio.h> #include <stdlib.h> #include<time.h> #define N 5 #define N1 374 #define N2 465 int main(){ int number; int i; srand( tim 阅读全文
posted @ 2023-10-16 17:34 Sn002 阅读(21) 评论(0) 推荐(0)
摘要: https://www.cnblogs.com/sanski 阅读全文
posted @ 2023-10-15 21:55 Sn002 阅读(18) 评论(0) 推荐(0)
摘要: 牛的 阅读全文
posted @ 2023-10-15 21:54 Sn002 阅读(6) 评论(0) 推荐(0)
摘要: 1.垂直小人源码 #include <stdio.h>#include <stdlib.h>int main(){ int i; for(i=0;i<=1;i++){ printf(" O\n"); printf("<H>\n"); printf("I I\n"); } system("pause" 阅读全文
posted @ 2023-09-28 14:37 Sn002 阅读(22) 评论(0) 推荐(0)
点击右上角即可分享
微信分享提示