摘要: task4 #include <stdio.h> #include <stdlib.h> #include <string.h> const int N = 5, M = 100; int main() { char ch[M]; int n = 0; FILE *fp; fp = fopen("C 阅读全文
posted @ 2023-06-15 11:20 拓拓爱打球 阅读(7) 评论(0) 推荐(0)
摘要: #include <stdio.h> #include<string.h> #define N 100 typedef struct { char num[10]; int s1; int s2; double sum; char level[10]; } STU; int fun(STU a[], 阅读全文
posted @ 2023-06-01 14:58 拓拓爱打球 阅读(22) 评论(0) 推荐(0)
摘要: task1 #include <stdio.h> #define N 4 int main() { int x[N] = {1, 9, 8, 4}; int i; int *p; for (i = 0; i < N; ++i) printf("%d", x[i]); printf("\n"); fo 阅读全文
posted @ 2023-05-11 15:10 拓拓爱打球 阅读(28) 评论(0) 推荐(0)
摘要: #include <stdio.h> #define N 4 int main() { int a[N] = {2, 0, 2, 3}; char b[N] = {'2', '0', '2', '3'}; int i; printf("sizeof(int) = %d\n", sizeof(int) 阅读全文
posted @ 2023-04-20 15:03 拓拓爱打球 阅读(41) 评论(0) 推荐(0)
摘要: #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 print 阅读全文
posted @ 2023-04-06 14:52 拓拓爱打球 阅读(29) 评论(0) 推荐(0)
摘要: #include<stdio.h> #include<stdlib.h> #include<time.h> #define N 5 #define R1 586 #define R2 701 int main() { int number; int i; srand( time(0)); for(i 阅读全文
posted @ 2023-03-23 14:59 拓拓爱打球 阅读(28) 评论(0) 推荐(0)
摘要: #include<stdio.h> int main() { int x,t,m; x= #include<stdio.h> int main() { printf(" 0 0\n"); printf("<H> <H>\n"); printf("I I I I\n"); printf(" 0\n") 阅读全文
posted @ 2023-03-09 14:55 拓拓爱打球 阅读(29) 评论(0) 推荐(0)