摘要:
实验任务四 程序源码 #include<stdio.h> #include<stdlib.h> #include<string.h> #define N 5 #define M 100 int main() { char ch[M]; int n=0; FILE *fp; fp=fopen("C:/ 阅读全文
摘要:
实验任务一 程序源码 #include <stdio.h>#include <string.h> #define N 3 // 运行程序输入测试时,可以把这个数组改小一些输入测试 typedef struct student { int id; // 学号 char name[20]; // 姓名 阅读全文
摘要:
实验任务一 task1 程序源码 #include <stdio.h> #define N 4 int main() { int x[N] = {1, 9, 8, 4}; int i; int *p; for (i = 0; i < N; ++i) printf("%d", x[i]); print 阅读全文
摘要:
实验任务一 task1.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; 阅读全文
摘要:
实验任务一 程序源码: #include<stdio.h> #include<stdlib.h> #include<time.h> #include<windows.h> #define N 80 void print_text(int line,int col,char text[]);//函数声 阅读全文
摘要:
实验任务1 程序源码: #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(time 阅读全文
摘要:
实验任务1 程序源码: #include<stdio.h> #include<stdlib.h> int main() { printf(" o \n"); printf("<H>\n"); printf("I I\n"); system("pause"); return 0; } 程序运行: 实验 阅读全文