摘要: task1_1.c 点击查看代码 #include <stdio.h> #define N 4 void test1() { int a[N] = {1, 9, 8, 4}; int i; printf("sizeof(a) = %d\n", sizeof(a)); for (i = 0; i < 阅读全文
posted @ 2024-05-19 13:37 程欣雨 阅读(12) 评论(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 阅读全文
posted @ 2024-04-23 20:57 程欣雨 阅读(11) 评论(0) 推荐(0) 编辑
摘要: 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; 阅读全文
posted @ 2024-04-10 20:33 程欣雨 阅读(9) 评论(0) 推荐(0) 编辑
摘要: task1_1.c include <stdio.h> int main() { printf(" O \n"); printf("\n"); printf("I I\n"); printf(" O \n"); printf("<H>\n"); printf("I I\n"); return 0; 阅读全文
posted @ 2024-03-12 21:51 程欣雨 阅读(11) 评论(0) 推荐(0) 编辑