摘要: task4 #define _CRT_SECURE_NO_WARNINGS 1 #include<stdlib.h> #include<stdio.h> #define N 100 int main() {FILE *fp; char n,*p; int count=0; fp=fopen("dat 阅读全文
posted @ 2023-12-20 22:56 lv_y 阅读(8) 评论(0) 推荐(0)
摘要: task4 #include <stdio.h> #include<stdlib.h> #include<string.h> #define N 10 #define _CRT_SECURE_NO_WARNINGS 1 typedef struct { char isbn[20]; // isbn号 阅读全文
posted @ 2023-12-14 20:10 lv_y 阅读(5) 评论(0) 推荐(0)
摘要: task.1_1 源码 #include <stdio.h> #include<stdlib.h> #define N 5 void input(int x[], int n); void output(int x[], int n); void find_min_max(int x[], int 阅读全文
posted @ 2023-11-27 21:08 lv_y 阅读(21) 评论(0) 推荐(0)
摘要: 实验4 C语言数组应用编程 任务1_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 阅读全文
posted @ 2023-11-13 20:14 lv_y 阅读(24) 评论(0) 推荐(0)
摘要: 任务1 源码 1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <time.h> 4 #include <windows.h> 5 #define N 80 6 void print_text(int line, int col, char 阅读全文
posted @ 2023-11-01 20:46 lv_y 阅读(77) 评论(0) 推荐(0)
摘要: 练习1 #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( time(0) 阅读全文
posted @ 2023-10-16 19:32 lv_y 阅读(15) 评论(0) 推荐(0)
摘要: 任务1_1源码 #include<stdio.h> #include<stdlib.h> int main() { printf(" O\n"); printf("<H>\n"); printf("I I\n"); printf(" O\n"); printf("<H>\n"); printf("I 阅读全文
posted @ 2023-10-04 08:49 lv_y 阅读(49) 评论(0) 推荐(0)
点击右上角即可分享
微信分享提示