摘要:
TASK1 #include<stdio.h> #include<Stdlib.h> #define N 80 #define M 100 typedef struct{ char name[N]; char author[M]; }Book; void func1(); void func2(); 阅读全文
摘要:
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); int 阅读全文
摘要:
TASK1 int型数组a,在内存中不是连续存放的;每个元素占用4个内存字节单元;数组名a对应的值,和&a[0]不一样 char型数组b,在内存中连续存在;每个元素占用1个内存字节单元;数组名b对应的值,和&b[0]一样 int型二维数组a,在内存中不是"按行连续存放"的;每个元素占用4个内存字节单 阅读全文
摘要:
EX3 Task1 `#include <stdio.h> include <stdlib.h> include <time.h> include <windows.h> define N 80 void print_text(int line, int col, char text[]); // 阅读全文
摘要:
[TASK1] `#include<stdio.h> include<stdlib.h> include<time.h> define N 5 int main(){ int number,i; srand(time(0)); for(i = 0;i<N;i++){ number = rand()% 阅读全文
摘要:
https://files.cnblogs.com/files/blogs/818867/202383310050%E5%BC%A0%E5%AE%B6%E7%95%85%E5%AE%9E%E9%AA%8C%E4%B8%80%E6%96%87%E4%BB%B6.zip?t=1710387514&dow 阅读全文