摘要: #include <stdio.h> #include <stdlib.h> #include <time.h> #include <windows.h> #define N 80 void print_text(int line, int col, char text[]); // 函数声明 vo 阅读全文
posted @ 2024-04-29 13:11 August1789 阅读(1) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h> #include <time.h> #define N 5 int main() { int number; int i; srand( time(0) ); for(i = 0; i < N; ++i) { number = rand()%65 + 1; pr 阅读全文
posted @ 2024-04-15 00:10 August1789 阅读(3) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h> int main() { char a[20]=" O ",b[20]=" <H> ",c[20]=" I I "; printf("%s %6s\n",a,a); printf("%s %6s\n",b,b); printf("%s %6s\n",c,c); 阅读全文
posted @ 2024-03-17 22:35 August1789 阅读(1) 评论(0) 推荐(0) 编辑