摘要: 1.直接操作注册表 路径: 计算机\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SecurityHealthService 修改start属性的值 REG_DWORD 为4 2.使用C#编码实现 using Microsoft.Win32 阅读全文
posted @ 2021-09-27 22:13 iwetuan 阅读(352) 评论(0) 推荐(0) 编辑
摘要: Build Error: go build -o D:\SRY\P3\2.sqlscriptgo__debug_bin.exe -gcflags all=-N -l d:\SRY\P3\2.sqlscriptgo directory . outside available modules (exit 阅读全文
posted @ 2021-09-17 15:40 iwetuan 阅读(446) 评论(0) 推荐(0) 编辑
摘要: 注意点1: 类中的operator new 和operator delete为static 遵循 访问限制 注意点2 operator delete 和operator new的第一个参数固定,通过第二个参数匹配new和delete 注意点3 operator delete,会在构造函数发生异常时自 阅读全文
posted @ 2021-09-15 10:32 iwetuan 阅读(143) 评论(0) 推荐(0) 编辑
摘要: CMakeLists.txt cmake_minimum_required(VERSION 3.13) cmake_minimum_required(VERSION 3.13) #项目名称 project(cwrapcpp) #要放到这个位置,表示之后添加的源文件,都是用utf8编码 add_com 阅读全文
posted @ 2021-09-08 18:48 iwetuan 阅读(178) 评论(0) 推荐(0) 编辑
摘要: // Demo_3_Show_PointCloud.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。 // 功能:显示简单的三维坐标点集 #include <iostream> #include "vtkPoints.h" #include "vtkPolyData.h" # 阅读全文
posted @ 2021-07-20 10:32 iwetuan 阅读(187) 评论(0) 推荐(0) 编辑
摘要: // Demo_3_Show_PointCloud.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。 // 功能:显示简单的三维坐标点集 #include <iostream> #include "vtkPoints.h" #include "vtkPolyData.h" # 阅读全文
posted @ 2021-07-14 16:21 iwetuan 阅读(1152) 评论(0) 推荐(0) 编辑
摘要: #include <string> #include <vector> #include <algorithm> #include <iostream> #include <functional> using namespace std; struct Memfn{ Memfn(string s): 阅读全文
posted @ 2021-06-29 22:38 iwetuan 阅读(41) 评论(0) 推荐(0) 编辑
摘要: // ConsoleApplication7.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include <chrono> #include <iostream> using namespace std; //判断平年和闰年的方法 int days(in 阅读全文
posted @ 2021-06-22 03:25 iwetuan 阅读(489) 评论(0) 推荐(0) 编辑
摘要: 为什么C++的空类不能为0 Why is the size of an empty class not zero? To ensure that the addresses of two different objects will be different. For the same reason 阅读全文
posted @ 2021-02-24 18:28 iwetuan 阅读(75) 评论(0) 推荐(0) 编辑
摘要: // C++继承构造.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。 //VS2017社区版 #include <iostream> struct Base { Base(int, int) { std::cout << "Base(int, int)" << std::e 阅读全文
posted @ 2021-02-24 18:21 iwetuan 阅读(47) 评论(0) 推荐(0) 编辑