摘要: #include<stdio.h> #include<stdlib.h> int main() { char a[2][100]={"nuist2022-nuist2023","FIFA World Cup 2022"}; FILE *fp; int i,n=0; char ch; fp=fopen 阅读全文
posted @ 2022-12-29 22:58 王涵钰 阅读(17) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h> #include<stdlib.h> #include <string.h> #define N 5 typedef struct student { char name[10]; int num; int maths; int computer; int en 阅读全文
posted @ 2022-12-29 22:56 王涵钰 阅读(16) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h> #define N 2 #define M 4 int main() { int a[N][M] = {{1, 9, 8, 4}, {2, 0, 2, 2}}; char b[N][M] = {{'1', '9', '8', '4'}, {'2', '0', ' 阅读全文
posted @ 2022-11-29 17:26 王涵钰 阅读(4) 评论(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[]); // 函数声明 vo 阅读全文
posted @ 2022-11-08 15:18 王涵钰 阅读(20) 评论(0) 推荐(0) 编辑
摘要: #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) { number 阅读全文
posted @ 2022-10-25 22:26 王涵钰 阅读(12) 评论(0) 推荐(0) 编辑
摘要: #include<stdio.h> int main() {printf(" 0\n"); printf("<H>\n"); printf("I I\n"); printf(" 0\n"); printf("<H>\n"); printf("I I\n"); return 0; } #include 阅读全文
posted @ 2022-10-16 21:12 王涵钰 阅读(17) 评论(0) 推荐(0) 编辑