会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
WZX1521105313
博客园
首页
新随笔
联系
订阅
管理
2025年1月12日
博客园地址
摘要: 202383290452 https://www.cnblogs.com/WZX1521105313 2023级计算机科学与技术5班
阅读全文
posted @ 2025-01-12 11:39 十二门
阅读(30)
评论(0)
推荐(0)
2024年12月22日
实验六
摘要: 1 #pragma once 2 #include<iostream> 3 #include<stdexcept> 4 using namespace std; 5 6 template<typename T> 7 class Vector 8 { 9 private: 10 int size; 1
阅读全文
posted @ 2024-12-22 15:27 十二门
阅读(18)
评论(0)
推荐(0)
2024年12月8日
实验5
摘要: 1 #pragma once 2 #include<iostream> 3 using namespace std; 4 class MachinePets { 5 private: 6 string nickname; 7 public: 8 MachinePets(const string& s
阅读全文
posted @ 2024-12-08 19:28 十二门
阅读(25)
评论(0)
推荐(0)
2024年11月23日
实验四
摘要: 1 #include "GradeCalc_2.hpp" 2 #include <iomanip> 3 4 void test() { 5 int n; 6 cout << "输入班级人数: "; 7 cin >> n; 8 9 GradeCalc c1("OOP", n); 10 11 cout
阅读全文
posted @ 2024-11-23 19:58 十二门
阅读(31)
评论(0)
推荐(0)
2024年11月10日
实验3
摘要: 1 #pragma once 2 #include "button.hpp" 3 #include<vector> 4 #include<iostream> 5 6 using std::vector; 7 using std::cout; 8 using std::endl; 9 10 //窗口类
阅读全文
posted @ 2024-11-10 20:58 十二门
阅读(12)
评论(0)
推荐(0)
2024年10月15日
实验一
摘要: 1 // 2 // 现代C++标准库、算法库体验 3 // 本例用到以下内容: 4 // 1. 字符串string, 动态数组容器类vector、迭代器 5 // 2. 算法库:反转元素次序、旋转元素 6 // 3. 函数模板、const引用作为形参 7 8 #include <iostream>
阅读全文
posted @ 2024-10-15 17:23 十二门
阅读(20)
评论(0)
推荐(0)
2023年12月20日
实验7
摘要: #define _CRT_SECURE_NO_WARNINGS #include<stdio.h> #include<stdlib.h> #include <stdio.h> #include <string.h> #define N 100 #define M 100 int main() { F
阅读全文
posted @ 2023-12-20 18:08 十二门
阅读(16)
评论(0)
推荐(0)
2023年12月14日
实验6
摘要: #define _CRT_SECURE_NO_WARNINGS #include<stdio.h> #include<stdlib.h> #define N 10 typedef struct { char isbn[20]; char name[80]; char author[80]; doub
阅读全文
posted @ 2023-12-14 22:24 十二门
阅读(38)
评论(0)
推荐(0)
2023年12月2日
实验5
摘要: #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-02 10:02 十二门
阅读(35)
评论(0)
推荐(0)
2023年11月19日
实验4
摘要: #define _CRT_SECURE_NO_WARNINGS #include <stdio.h> #define N 4 void test1() { int a[N] = { 1, 9, 8, 4 }; int i; // 输出数组a占用的内存字节数 printf("sizeof(a) = %
阅读全文
posted @ 2023-11-19 16:01 十二门
阅读(12)
评论(0)
推荐(0)
下一页
公告