摘要:
实验任务4: 1 #include <stdio.h> 2 #include <stdlib.h> 3 int is_word(char x); 4 int main(){ 5 FILE *fp; 6 char ch; 7 int i,line=1,count=0; 8 9 fp=fopen("d: 阅读全文
摘要:
实验任务4: 1 #include <stdio.h> 2 #include <stdlib.h> 3 int is_word(char x); 4 int main(){ 5 FILE *fp; 6 char ch; 7 int i,line=1,count=0; 8 9 fp=fopen("d: 阅读全文
摘要:
实验任务4: 1 #include <stdio.h> 2 #define N 10 3 4 typedef struct { 5 char isbn[20]; // isbn号 6 char name[80]; // 书名 7 char author[80]; // 作者 8 double sal 阅读全文
摘要:
task1.1: 1 #include <stdio.h> 2 #define N 5 3 4 void input(int x[], int n); 5 void output(int x[], int n); 6 void find_min_max(int x[], int n, int *pm 阅读全文
摘要:
试验任务1: 1 #include <stdio.h> 2 #define N 4 3 #define M 2 4 5 void test1(){ 6 int x[N]={1,9,8,4}; 7 int i; 8 printf("sizeof(x)=%d\n",sizeof(x)); 9 for(i 阅读全文
摘要:
实验任务1: 1 int main(){ 2 int score; 3 char grade; 4 5 while(scanf("%d",&score)!=EOF){ 6 grade=score_to_grade(score); 7 printf("分数:%d,等级:%c\n\n",score,gr 阅读全文
摘要:
实验任务1: 1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <time.h> 4 5 #define N 5 6 #define N1 397 7 #define N2 476 8 #define N3 21 9 10 int main( 阅读全文
摘要:
https://www.cnblogs.com/yu-hong-yan 阅读全文
摘要:
实验任务1: 1 #include <stdio.h> 2 int main() 3 { 4 printf(" o\n"); 5 printf("<H>\n"); 6 printf("I I\n"); 7 8 printf(" o\n"); 9 printf("<H>\n"); 10 printf( 阅读全文
|