会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
paylove
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
···
13
下一页
2024年7月18日
C++ 类继承工具查看
摘要: 查看类继承属性 代码
阅读全文
posted @ 2024-07-18 09:30 一个小笨蛋
阅读(14)
评论(0)
推荐(0)
2024年7月17日
C++ 《运算符重载》
摘要: 示例代码 #include "iostream" //operator+ using namespace std; class A{ public: int m_age; public: A(){} A(int age):m_age(age){} // A operator+(const A &a)
阅读全文
posted @ 2024-07-17 16:17 一个小笨蛋
阅读(24)
评论(0)
推荐(0)
c/c++ 浅拷贝与深拷贝
摘要: 浅拷贝与深拷贝的区别 浅拷贝:简单的赋值拷贝操作 深拷贝:在堆区重新申请空间,进行拷贝操作 默认情况下对象拷贝是浅拷贝(深拷贝要自己实现拷贝函数) class Person { public: //无参(默认)构造函数 Person() { cout << "无参构造函数!" << endl; }
阅读全文
posted @ 2024-07-17 15:29 一个小笨蛋
阅读(9)
评论(0)
推荐(0)
C/C++ 知识点
摘要: 助记 关于 this: this 相当于 * const this; //指向不可更改 关于cstring(常量指针): 指向可以更改,指向的内容不可以更改 string hello = "hello"; string hello2 = "hello2"; const char * hello =
阅读全文
posted @ 2024-07-17 15:17 一个小笨蛋
阅读(13)
评论(0)
推荐(0)
2024年7月12日
c++ 常见问题
摘要: 1.中文输出乱码(只解决输出问题) 解决办法(二选一) #include <iostream> #include "windows.h" using namespace std; // 方法1: // 引入Windows.h // 增加 SetConsoleOutputCP(CP_UTF8); //
阅读全文
posted @ 2024-07-12 04:57 一个小笨蛋
阅读(32)
评论(0)
推荐(0)
2024年7月8日
Virtualbox《磁盘空间压缩》
摘要: 背景 Virtualbox动态分配存储,安装虚拟机后,虚拟机越来越大,并且删除文件后并不会回收空间 进入虚拟机执行命令 sudo dd if=/dev/zero of=/EMPTY bs=1M sudo rm -f /EMPTY 退出虚拟机 新建一个bat文件 clear_vdi.bat "C:\P
阅读全文
posted @ 2024-07-08 14:15 一个小笨蛋
阅读(189)
评论(0)
推荐(0)
2024年7月6日
Mysql 8.4 安装(一)(Centos7.9)
摘要: 前置准备 root 环境下执行 # 关闭selinux vi /etc/selinux/config # SELINUX=enforcing =>SELINUX=disabled # 开通防火墙3306/tcp firewall-cmd --permanent --add-port=3306/tcp
阅读全文
posted @ 2024-07-06 11:09 一个小笨蛋
阅读(414)
评论(0)
推荐(0)
2024年7月5日
pdfbox 《PDF加水印、PDF转图片、PDF附加图片》
摘要: 引入依赖 <dependency> <groupId>org.apache.pdfbox</groupId> <artifactId>pdfbox</artifactId> <version>2.0.24</version> </dependency> 配置文件 PdfWatermarkProper
阅读全文
posted @ 2024-07-05 15:01 一个小笨蛋
阅读(728)
评论(0)
推荐(0)
2024年7月4日
Teamcenter 开发之《AbstractRendering 问题》
该文被密码保护。
阅读全文
posted @ 2024-07-04 17:14 一个小笨蛋
阅读(0)
评论(0)
推荐(0)
2024年7月3日
window远程桌面出现CredSSP
摘要: 问题 处理办法
阅读全文
posted @ 2024-07-03 15:44 一个小笨蛋
阅读(15)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
···
13
下一页
公告