会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Obrez
博客园
首页
新随笔
联系
订阅
管理
2024年10月10日
实验课作业一
摘要: 1. 实验任务1 #include <iostream> #include <string> #include <vector> #include <algorithm> using namespace std; // 声明 // 模板函数声明 template<typename T> void o
阅读全文
posted @ 2024-10-10 13:21 It-just-works
阅读(11)
评论(0)
推荐(0)
编辑
2023年12月20日
实验七
摘要: task4 #include <stdio.h> #include <string.h> #define N 5 #define M 80 int main() { char songs[N][M]; FILE* fp; fp = fopen("data1.txt", "r"); if (fp ==
阅读全文
posted @ 2023-12-20 22:08 It-just-works
阅读(3)
评论(0)
推荐(0)
编辑
2023年12月11日
实验六
摘要: task.4 #include <stdio.h> #define N 10 typedef struct { char isbn[20]; // isbn号 char name[80]; // 书名 char author[80]; // 作者 double sales_price; // 售价
阅读全文
posted @ 2023-12-11 20:37 It-just-works
阅读(2)
评论(0)
推荐(0)
编辑
2023年11月27日
实验五
摘要: 1. 实验任务一 1.1 1 #include <stdio.h> 2 #define N 5 3 4 void input(int x[], int n); 5 void output(int x[], int n); 6 void find_min_max(int x[], int n, int
阅读全文
posted @ 2023-11-27 17:27 It-just-works
阅读(9)
评论(0)
推荐(0)
编辑
2023年11月13日
实验4
摘要: 1、实验任务一 1.1 #include <stdio.h> #define N 4 void test1() { int a[N] = {1, 9, 8, 4}; int i; // 输出数组a占用的内存字节数 printf("sizeof(a) = %d\n", sizeof(a)); // 输
阅读全文
posted @ 2023-11-13 20:48 It-just-works
阅读(10)
评论(0)
推荐(0)
编辑
2023年10月30日
实验3
摘要: 一、实验任务1 #include <stdio.h> #include <stdlib.h> #include <time.h> #include <windows.h> #define N 80 void print_text(int line, int col, char text[]); ?/
阅读全文
posted @ 2023-10-30 22:16 It-just-works
阅读(28)
评论(0)
推荐(0)
编辑
2023年10月16日
实验2
摘要: 实验任务1 #include <stdio.h> #include <stdlib.h> #include <time.h> #define N 5 #define N1 374 #define N2 465 int main() { system("color E5"); int number;
阅读全文
posted @ 2023-10-16 20:07 It-just-works
阅读(9)
评论(0)
推荐(0)
编辑
2023年10月5日
实验1
摘要: #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"); return 0; } #inc
阅读全文
posted @ 2023-10-05 21:28 It-just-works
阅读(9)
评论(0)
推荐(0)
编辑
公告