摘要: 实验4 #define _CRT_SECURE_NO_WARNINGS 1 #include<stdio.h> #include<stdlib.h> int main() { FILE* fp; int count = 0; fp = fopen("D:\\data4.txt", "r"); if 阅读全文
posted @ 2022-12-28 09:00 奥斯卡大奖 阅读(28) 评论(0) 推荐(0) 编辑
摘要: task 1 #define _CRT_SECURE_NO_WARNINGS 1 #include <stdio.h> #include <string.h> #define N 10 // 运行程序输入测试时,可以把这个数组改小一些输入测试 typedef struct student { int 阅读全文
posted @ 2022-12-21 11:04 奥斯卡大奖 阅读(30) 评论(0) 推荐(0) 编辑
摘要: 实验1_1 #define _CRT_SECURE_NO_WARNINGS 1 #include <stdio.h> #define N 4 int main() { int a[N]={1,9,8,4}; char b[N] = { '1','9','8','4' }; int i; printf 阅读全文
posted @ 2022-11-23 19:40 奥斯卡大奖 阅读(9) 评论(0) 推荐(0) 编辑
摘要: 实验1 #include <stdio.h> #include <stdlib.h> #include <time.h> #include <windows.h> #define N 80 void print_text(int line, int col, char text[]); void p 阅读全文
posted @ 2022-11-08 12:29 奥斯卡大奖 阅读(36) 评论(0) 推荐(0) 编辑
摘要: task 1 #include<stdio.h> #include<stdlib.h> #include <time.h> #define N 5 int main() { int number; int i; srand(time(0)); for (i = 0;i < N;++i) { numb 阅读全文
posted @ 2022-10-23 16:44 奥斯卡大奖 阅读(9) 评论(0) 推荐(0) 编辑
摘要: #include<stdio.h> int main() { printf(" o \n"); printf("<H>\n"); printf("I I\n"); printf("\n"); printf(" o \n"); printf("<H>\n"); printf("I I\n"); ret 阅读全文
posted @ 2022-10-18 21:51 奥斯卡大奖 阅读(67) 评论(0) 推荐(0) 编辑