摘要: #include<stdio.h>#include<stdlib.h> typedef int ElemType; typedef struct{ ElemType *base; ElemType *top; int ssize; }sq; void createS(sq &S) { S.base= 阅读全文
posted @ 2024-10-25 17:17 JUVBuffon 阅读(21) 评论(0) 推荐(0)
摘要: #include<stdio.h>#include<malloc.h> #define SIZE 100#define INCREMENT_SIZE 10 #define TRUE 1#define FALSE -1#define OK 1#define ERROR -1 typedef int S 阅读全文
posted @ 2024-10-12 21:10 JUVBuffon 阅读(7) 评论(0) 推荐(0)
摘要: #include<stdio.h>#include<malloc.h> #define SIZE 100#define INCREMENT_SIZE 10 #define TRUE 1#define FALSE -1#define OK 1#define ERROR -1 typedef int S 阅读全文
posted @ 2024-10-11 17:18 JUVBuffon 阅读(8) 评论(0) 推荐(0)
摘要: #include<iostream>#include<stdlib.h>#include<malloc.h>using namespace std;typedef int Status;typedef int ElemType; typedef struct{ ElemType*elem; int 阅读全文
posted @ 2024-09-27 17:15 JUVBuffon 阅读(12) 评论(0) 推荐(0)
摘要: task.4 1.源代码 1 #include<stdio.h> 2 #include<stdlib.h> 3 #include <string.h> 4 int main() 5 { 6 char a; 7 int count=0; 8 FILE *fp; 9 fp = fopen("data4. 阅读全文
posted @ 2023-12-20 17:06 JUVBuffon 阅读(9) 评论(0) 推荐(0)
摘要: task4 1.源代码 1 #include<stdio.h> 2 #include<stdlib.h> 3 #define N 10 4 5 typedef struct { 6 char isbn[20]; // isbn号 7 char name[80]; // 书名 8 char autho 阅读全文
posted @ 2023-12-11 15:13 JUVBuffon 阅读(50) 评论(0) 推荐(0)
摘要: task1.1 1.源代码 1 #include<stdio.h> 2 #include<stdlib.h> 3 #define N 5 4 5 void input(int x[], int n); 6 void output(int x[], int n); 7 void find_min_ma 阅读全文
posted @ 2023-11-27 17:05 JUVBuffon 阅读(19) 评论(0) 推荐(0)
摘要: task1_1 1.源代码 1 #include<stdio.h> 2 #include<stdlib.h> 3 #define N 4 4 5 void test1() { 6 int a[N] = {1, 9, 8, 4}; 7 int i; 8 9 // 输出数组a占用的内存字节数 10 pr 阅读全文
posted @ 2023-11-13 17:15 JUVBuffon 阅读(28) 评论(0) 推荐(0)
摘要: task.1 1.源代码 1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <time.h> 4 #include <windows.h> 5 #define N 80 6 void print_text(int line, int col, 阅读全文
posted @ 2023-10-30 17:14 JUVBuffon 阅读(30) 评论(0) 推荐(0)
摘要: task.1 1.源代码 1 #include<stdio.h> 2 #include<stdlib.h> 3 #include<time.h> 4 #define N 5 5 #define N1 374 6 #define N2 465 7 int main() 8 { 9 int number 阅读全文
posted @ 2023-10-16 22:39 JUVBuffon 阅读(21) 评论(0) 推荐(0)