会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Z_He
博客园
首页
新随笔
联系
管理
订阅
1
2
3
4
5
下一页
2023年3月25日
上位机SDK二次开发硬件(一)
摘要: 问题描述: 移动平台厂家提供了二次开发工具,基于项目的需求,要重新编写新代码控制设备。 厂家提供ocx控件,下面记录一下如何将ocx生成.h和.cpp文件。 (1)将xxx.lic和xxx.ocx复制到c:/window/sysWOW64地址处,注意管理员权限; (2)获得管理员权限,注册该ocx,
阅读全文
posted @ 2023-03-25 17:57 Z_He
阅读(94)
评论(0)
推荐(0)
2022年5月18日
C++学习记录(十二)信号与槽编程
摘要: 1 #include <iostream> 2 #include <vector> 3 4 using namespace std; 5 6 template <class TParam> 7 class SlotBase 8 { 9 public: 10 virtual void slotFunc
阅读全文
posted @ 2022-05-18 17:42 Z_He
阅读(73)
评论(0)
推荐(0)
2022年5月15日
C++学习记录(十一)容器deque、list、stack、set、map,I/O文件流,多线程入口
摘要: 这是第十一天的学习。 1 #include <iostream> 2 #include <deque> 3 #include <algorithm> 4 #include <list> 5 #include <stack> 6 #include <queue> 7 #include <set> 8
阅读全文
posted @ 2022-05-15 17:10 Z_He
阅读(43)
评论(0)
推荐(0)
2022年5月14日
C++学习记录(十)容器vector、string
摘要: 这是第十天的学习 1 #include <iostream> 2 #include <vector> 3 #include <algorithm> 4 #include <deque> 5 using namespace std; 6 7 template <class T> 8 bool cmp(
阅读全文
posted @ 2022-05-14 21:07 Z_He
阅读(35)
评论(0)
推荐(0)
2022年5月13日
C++学习记录(九)智能指针、异常处理
摘要: 这是第九天的学习。 1 #include <iostream> 2 #include <memory> 3 4 using namespace std; 5 class A 6 { 7 int id; 8 public: 9 A(int id) : id(id) { cout << "A" << e
阅读全文
posted @ 2022-05-13 22:05 Z_He
阅读(54)
评论(0)
推荐(0)
2022年5月12日
C++学习记录(八)纯虚函数、虚析构、模板函数、模板类、栈模板
摘要: 这是第八天的学习记录。 1 #include <iostream> 2 3 using namespace std; 4 5 class A 6 { 7 public: 8 A() { cout << "A" << endl; } 9 A(const A& a) { cout << "copy A"
阅读全文
posted @ 2022-05-12 21:11 Z_He
阅读(114)
评论(0)
推荐(0)
2022年5月11日
C++学习记录(七)多继承、菱形继承、类的转换、多态
摘要: 这是第七天的学习。 1 #include <iostream> 2 3 using namespace std; 4 class Base 5 { 6 public: 7 int memb = 9; 8 public: 9 //Base() { cout << "Base" << endl; } 1
阅读全文
posted @ 2022-05-11 21:45 Z_He
阅读(43)
评论(0)
推荐(0)
C++学习记录(六)类的继承与转换
摘要: 这是第六天的学习 1 #include <iostream> 2 3 using namespace std; 4 5 class A 6 { 7 private: 8 int num = 10; 9 public: 10 A() { cout << " This is A constructor.
阅读全文
posted @ 2022-05-11 21:41 Z_He
阅读(33)
评论(0)
推荐(0)
2022年5月8日
C++学习记录(五)this指针,常对象常函数,静态对象静态函数,友元对象友元函数,运算符重载
摘要: 这是第五天的记录。 1 #include <iostream> 2 3 using namespace std; 4 5 class Student 6 { 7 private: 8 string name; 9 int age; 10 static int amount; 11 public: 1
阅读全文
posted @ 2022-05-08 17:03 Z_He
阅读(41)
评论(0)
推荐(0)
2022年5月7日
C++学习记录(四)分文件编程,拷贝构造函数
摘要: 程序虽然能跑通,但是有提示内存泄漏。 1 #ifndef STUDENT_H 2 #define STUDENT_H 3 #include <iostream> 4 5 using namespace std; 6 7 class Student 8 { 9 string name; 10 int
阅读全文
posted @ 2022-05-07 22:20 Z_He
阅读(46)
评论(0)
推荐(0)
1
2
3
4
5
下一页
公告