20050109dfe

导航

2023年12月21日 #

实验七

摘要: #include<stdio.h> #include<stdlib.h> #include<time.h> typedef struct{ long id; char name[20]; char ban[40]; }xx; int main() { xx a[5],x[80]; int i,n; 阅读全文

posted @ 2023-12-21 21:37 戴菲不想跑步伐 阅读(5) 评论(0) 推荐(0) 编辑

2023年12月18日 #

实验六

摘要: #include <stdio.h> #define N 10 typedef struct { char isbn[20]; // isbn号 char name[80]; // 书名 char author[80]; // 作者 double sales_price; // 售价 int sal 阅读全文

posted @ 2023-12-18 12:04 戴菲不想跑步伐 阅读(2) 评论(0) 推荐(0) 编辑

2023年12月4日 #

实验五

摘要: #define _CRT_SECURE_NO_WARNINGS #include<stdio.h> #include<stdlib.h> #include <stdio.h> #define N 5 void input(int x[], int n); void output(int x[], i 阅读全文

posted @ 2023-12-04 10:38 戴菲不想跑步伐 阅读(5) 评论(0) 推荐(0) 编辑

2023年11月20日 #

实验四

摘要: task1_1 ① int型数组a,在内存中是否是连续存放的?每个元素占用几个内存字节单元? 数组名a对应的 值,和&a[0]是一样的吗? ② char型数组b,在内存中是否是连续存放的?每个元素占用几个内存字节单元? 数组名b对应的 值,和&b[0]是一样的吗? :连续存放,占4个字节。一样。 : 阅读全文

posted @ 2023-11-20 10:42 戴菲不想跑步伐 阅读(4) 评论(0) 推荐(0) 编辑

2023年11月4日 #

实验三

摘要: #include <stdio.h> #include <stdlib.h> #include <time.h> #include <windows.h> #define N 80 void print_text(int line, int col, char text[]); // 函数声明 vo 阅读全文

posted @ 2023-11-04 20:48 戴菲不想跑步伐 阅读(7) 评论(0) 推荐(0) 编辑

2023年10月22日 #

实验二

摘要: task1 #include <stdio.h> #include <stdlib.h> #include <time.h> #define N 5 #define N1 374 #define N2 465 int main() { int number; int i; srand( time(0 阅读全文

posted @ 2023-10-22 14:49 戴菲不想跑步伐 阅读(3) 评论(0) 推荐(0) 编辑

2023年9月30日 #

实验1

摘要: task1-1.c 源代码 #include <stdio.h> int main() { printf(" O \n"); printf("<H>\n"); printf("I I\n"); printf(" O \n"); printf("<H>\n"); printf("I I\n"); re 阅读全文

posted @ 2023-09-30 22:20 戴菲不想跑步伐 阅读(10) 评论(0) 推荐(0) 编辑