摘要:
任务4 程序源码: #define _CRT_SECURE_NO_WARNINGS #include<stdio.h> int main(){ char ch; FILE* fp; int i = 0; fp = fopen("data4.txt", "r"); ch = fgetc(fp); wh 阅读全文
摘要:
任务4: 实验源码: #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 f 阅读全文
摘要:
任务 1 1.1程序源码 #include <stdio.h> #include <stdlib.h> #define N 4 int main() { int x[N] = {1, 9, 8, 4}; int i; int *p; for (i = 0; i < N; ++i) printf("% 阅读全文
摘要:
试验任务1 程序源码: #include <stdio.h> #include<stdlib.h> #define N 4 int main() { int a[N] = {2, 0, 2, 3}; char b[N] = {'2', '0', '2', '3'}; int i; printf("s 阅读全文
摘要:
task 1 程序源码: #include <stdio.h> #include <stdlib.h> #include <time.h> #include <Windows.h> #define N 80 void print_text(int line, int col, char text[] 阅读全文
摘要:
试验任务一 程序源码 #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(ti 阅读全文
摘要:
实验任务1 程序源码 // 打印一个字符小人 #include <stdio.h> int main() { printf(" O \n"); printf("<H>\n"); printf("I I\n"); printf(" O \n"); printf("<H>\n"); printf("I 阅读全文