摘要: 实验任务四 #define _CRT_SECURE_NO_WARNINGS #include<stdio.h> #include<stdlib.h> int main() { FILE* fp; int count = 0; fp = fopen("data4.txt", "r"); if (fp 阅读全文
posted @ 2022-12-24 19:01 汤玉龙 阅读(21) 评论(0) 推荐(0)
摘要: 实验任务3 #define _CRT_SECURE_NO_WARNINGS #include<stdio.h> #include<string.h> #include<stdlib.h> #define N 100 typedef struct { char num[10]; // 学号 int s 阅读全文
posted @ 2022-12-21 13:58 汤玉龙 阅读(21) 评论(0) 推荐(0)
摘要: 实验任务 1 task1_1.c task1_1.c #define _CRT_SECURE_NO_WARNINGS #include<stdio.h> #define N 4 int main() { int a[N] = { 1,9,8,4 }; char b[N] = { '1','9','8 阅读全文
posted @ 2022-11-24 19:44 汤玉龙 阅读(8) 评论(0) 推荐(0)
摘要: task1.c#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 pr 阅读全文
posted @ 2022-11-05 14:08 汤玉龙 阅读(26) 评论(0) 推荐(0)
摘要: 实验任务1 task1.c #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 阅读全文
posted @ 2022-10-25 08:51 汤玉龙 阅读(16) 评论(0) 推荐(0)
摘要: task1_1 #include<stdio.h> int main() { printf(" O \n"); printf("<H>\n"); printf("I I\n"); printf(" O \n"); printf("<H>\n"); printf("I I\n"); return 0; 阅读全文
posted @ 2022-10-14 22:10 汤玉龙 阅读(24) 评论(0) 推荐(0)
点击右上角即可分享
微信分享提示