摘要:
task1_1 1 #include <stdio.h> 2 #include<stdlib.h> 3 #define N 4 4 int main() 5 { 6 int x[N] = {1, 9, 8, 4}; 7 int i; 8 int *p; 9 // 方式1:通过数组名和下标遍历输出数组 阅读全文
摘要:
task1_1 1 #include<stdio.h> 2 #include<stdlib.h> 3 #define N 5 4 #define M 80 5 6 typedef struct 7 { 8 char name[M]; 9 char auther[M]; 10 /* data */ 1 阅读全文
摘要:
task1_1 1 #include <stdio.h> 2 #include<stdlib.h> 3 #define N 4 4 5 int main() 6 { 7 int a[N] = {2, 0, 2, 2}; 8 char b[N] = {'2', '0', '2', '2'}; 9 10 阅读全文
摘要:
task1 1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <time.h> 4 #include <windows.h> 5 #define N 80 6 7 void printText(int line, int col, char 阅读全文
摘要:
task1 1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <time.h> 4 5 #define N 5 6 7 int main() // 问题3: 随机列出5个学号,包括4个年级(2018 19 20 21)的学生 8 { 9 in 阅读全文
摘要:
task1——1 1 #include<stdio.h> 2 #include<stdlib.h> 3 4 int main() 5 { 6 printf(" o \n"); 7 printf("<H>\n"); 8 printf("I I\n"); 9 printf("\n"); 10 print 阅读全文