摘要: 问题描述: 移动平台厂家提供了二次开发工具,基于项目的需求,要重新编写新代码控制设备。 厂家提供ocx控件,下面记录一下如何将ocx生成.h和.cpp文件。 (1)将xxx.lic和xxx.ocx复制到c:/window/sysWOW64地址处,注意管理员权限; (2)获得管理员权限,注册该ocx, 阅读全文
posted @ 2023-03-25 17:57 Z_He 阅读(44) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(56) 评论(0) 推荐(0) 编辑
摘要: 这是第十一天的学习。 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 阅读(29) 评论(0) 推荐(0) 编辑
摘要: 这是第十天的学习 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 阅读(28) 评论(0) 推荐(0) 编辑
摘要: 这是第九天的学习。 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 阅读(31) 评论(0) 推荐(0) 编辑
摘要: 这是第八天的学习记录。 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 阅读(72) 评论(0) 推荐(0) 编辑
摘要: 这是第七天的学习。 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 阅读(30) 评论(0) 推荐(0) 编辑
摘要: 这是第六天的学习 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 阅读(17) 评论(0) 推荐(0) 编辑
摘要: 这是第五天的记录。 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 阅读(29) 评论(0) 推荐(0) 编辑
摘要: 程序虽然能跑通,但是有提示内存泄漏。 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 阅读(34) 评论(0) 推荐(0) 编辑