自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(10)
  • 收藏
  • 关注

原创 llbrid的CnComm串口通讯库函数功能解析

这个文件是 CnComm 串口通讯库的头文件,定义了一个用于 Windows/WinCE 平台的串口通讯类。

2025-03-05 16:59:38 345

原创 【MACOS下顺利编译6.8.1MYSQL驱动并连接数据库】

macos编译MYSQL驱动。

2024-12-19 11:51:26 426 3

原创 在Windows第一次使用使用vcpkg来安装三方库,例如nanomsg、nng、libpqxx

需要从github上找三方库来使用,看了许多教程后决定为后来者写点简单的流程。第三步,在vcpkg的目录下有一个名为”bootstrap-vcpkg.bat“的脚本。点击运行,自动编译,完成后会多出一个”vcpkg.exe“的文件;在git bash中输入以下代码就能安装vcpkg了。到此为之就只剩下在vcpkg上安装三方库的步骤了;安装完成后就能直接在项目里#include了;就说明能在自己的项目直接使用三方库了;我们主要用的是Git Bash。也是把vcpkg的目录放到上面;看到它就说明成功了;

2022-11-24 10:46:14 1921 1

原创 [C++]十六进制和字符串互相转化

[C++]十六进制和字符串互相转化

2022-06-21 10:16:22 10970 2

原创 Singleton Pattern in cpp

Singleton Pattern in cppSingleton PatternThe Singleton Pattern is one of the design patterns, in order to creat a object in a best way. Because in this design pattern, there is only one class and one object, this class creat its own object and make sure

2022-03-03 12:27:18 194

原创 Cpp实现栈

Cpp实现栈Stack.h#pragma once#ifndef STACK_H#define STACK_H#include<iostream>#define MAXSIZE 100#define overflow -2#define Status int#define OK 1#define ERROR 0template<class SElemType>class SqStack{public: SqStack(); SqStack(Sq

2022-01-20 16:29:48 926

原创 CPP实现单链表(无类)

CPP单链表

2022-01-20 11:56:34 922

原创 The arrow operator in C++

The arrow operator in C++What the arrow operator auctally does to struct pointers and class pointers.And implement our own arrow operator and see how they work.If we don’t use the arrow operator,we will get code like this:#include <iostream>#inc

2021-10-14 18:35:48 434

原创 Smart pointers in C++

Smart pointers in C++What new and delete does?‘new’ allocates memory on the heap and delete is needed to delete that memory to free that memory because it won’t be freed automatically.Smart pointers are a way to automate that process that’s all they are.

2021-10-13 21:42:09 175

原创 OPERATORS & OPERATOR OVERLORDING in C++

OPERATORS & OPERATOR OVERLORDING in C++一.OPERATORS1.1 What is overloading?1.2 Add and Multiply action whitout operator overloading1.3 Overloading the + and * operators!1.4 Overloading the << operator (shift left operator) and ==,!= operator.And n

2021-10-13 08:39:05 212

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除