摘要:
实验任务4 #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") 阅读全文
摘要:
实验任务1 1.源代码 #include <stdio.h> #include <string.h> #define N 3 typedef struct student { int id; // 学号 char name[20]; // 姓名 char subject[20]; // 考试科目 d 阅读全文
摘要:
实验任务1 源代码 #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 阅读全文
摘要:
task1 源代码 #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 阅读全文
摘要:
实验任务-1 源代码 #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) { 阅读全文