摘要: task1.c 1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <time.h> 4 #include <windows.h> 5 #define N 80 6 7 void print_text(int line, int col, ch 阅读全文
posted @ 2024-04-26 21:45 林中有杉木 阅读(13) 评论(0) 推荐(0) 编辑
摘要: task1.c 1 #include<stdio.h> 2 #include<stdlib.h> 3 #include<time.h> 4 #define N 5 5 int main(){ 6 int number; 7 int i; 8 srand(time(0)); 9 for(i=0;i<N 阅读全文
posted @ 2024-04-13 20:05 林中有杉木 阅读(6) 评论(0) 推荐(0) 编辑
摘要: task1_1.c 1 #include<stdio.h> 2 int main() 3 { 4 printf(" O \n"); 5 printf("<H>\n"); 6 printf("I I\n"); 7 printf(" O \n"); 8 printf("<H>\n"); 9 printf 阅读全文
posted @ 2024-03-15 16:39 林中有杉木 阅读(9) 评论(0) 推荐(0) 编辑