会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
VitaminC++
博客园
首页
新随笔
联系
订阅
管理
2023年12月14日
实验7
摘要: task4 1 #include <stdio.h> 2 #include <string.h> 3 #define N 5 4 #define M 80 5 int main() { 6 char songs[N][M]; 7 8 FILE* fp; 9 fp = fopen("data1.txt
阅读全文
posted @ 2023-12-14 17:26 VitaminC++
阅读(85)
评论(0)
推荐(0)
2023年12月11日
实验6
摘要: task4 1 #include <stdio.h> 2 #include <string.h> 3 #define N 10 4 typedef struct { 5 char isbn[20]; 6 char name[80]; 7 char author[80]; 8 double sales
阅读全文
posted @ 2023-12-11 14:40 VitaminC++
阅读(114)
评论(0)
推荐(0)
2023年11月26日
实验5
摘要: task1.1 1 #include <stdio.h> 2 #define N 5 3 void input(int x[], int n); 4 void output(int x[], int n); 5 void find_min_max(int x[], int n, int* pmin,
阅读全文
posted @ 2023-11-26 22:16 VitaminC++
阅读(79)
评论(0)
推荐(0)
2023年11月12日
实验4
摘要: task1 1. int型数组a,在内存中是连续存放的,每个元素占用4个内存字节单元,数组名a对应的值,和&a[0]一样2. char型数组b,在内存中是连续存放的,每个元素占用1个内存字节单元,数组名b对应的值,和&b[0]一样 3. int型二维数组a,在内存中按行连续存放,每个元素占用4个内存
阅读全文
posted @ 2023-11-12 23:10 VitaminC++
阅读(119)
评论(0)
推荐(0)
2023年10月30日
实验3
摘要: task1 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, char t
阅读全文
posted @ 2023-10-30 16:06 VitaminC++
阅读(119)
评论(0)
推荐(0)
2023年10月16日
实验2
摘要: task1 line17功能是在(N2-N1+1)到N1之间随机选取一个数字 代码功能是随机生成5个学号 task2 1 #include <stdio.h> 2 int main() 3 { 4 char colour; 5 6 while (scanf("%c", &colour) != EOF
阅读全文
posted @ 2023-10-16 16:55 VitaminC++
阅读(119)
评论(0)
推荐(0)
2023年10月1日
博客园个人主页
摘要: https://www.cnblogs.com/VitaminC114514/
阅读全文
posted @ 2023-10-01 22:23 VitaminC++
阅读(27)
评论(0)
推荐(0)
实验1
摘要: task1_1 1 #include <stdio.h> 2 int main() 3 { 4 printf(" o \n"); 5 printf("<H>\n"); 6 printf("I I\n"); 7 printf(" o \n"); 8 printf("<H>\n"); 9 printf(
阅读全文
posted @ 2023-10-01 22:22 VitaminC++
阅读(28)
评论(0)
推荐(0)
公告