摘要: #define _CRT_SECURE_NO_WARNINGS #include<stdlib.h> #include<stdio.h> int main() { char ch; int count = 0; FILE* fp; fp = fopen("data4.txt", "r"); if ( 阅读全文
posted @ 2022-12-29 21:31 素商折木 阅读(20) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h> #include<string.h> #include<stdlib.h> #define N 100 typedef struct { char num[10]; int s1; int s2; double sum; char level[10]; } ST 阅读全文
posted @ 2022-12-28 02:00 素商折木 阅读(15) 评论(0) 推荐(0) 编辑
摘要: #include<stdio.h> #define N 4 int main() { int a[N] = { 1,9,8,4 }; char b[N] = { '1','9','8','4' }; int i; printf("sizeof(int)=%d\n", sizeof(int)); pr 阅读全文
posted @ 2022-11-25 16:02 素商折木 阅读(2) 评论(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_spa 阅读全文
posted @ 2022-11-08 19:56 素商折木 阅读(3) 评论(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 19:42 素商折木 阅读(93) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h> int main() { printf(" O \n"); printf("<H>\n"); printf("I I\n"); return 0; } #include<stdio.h> int main() { double c,f; while (scanf 阅读全文
posted @ 2022-10-19 00:42 素商折木 阅读(74) 评论(0) 推荐(0) 编辑