摘要:
4 `#include<stdio.h> int main(){ FILE *fp; char ch; int count=0; fp=fopen("d:\data4.txt","r"); if(fp==NULL){ printf("fail to open file\n"); return 0; 阅读全文
摘要:
task1_1 `#include <stdio.h> define N 5 void input(int x[], int n); void output(int x[], int n); void find_min_max(int x[], int n, int *pmin, int *pmax 阅读全文
摘要:
`#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 阅读全文
摘要:
` #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 < 阅读全文