C++编程软件开发

Cplus_libs_wrapper-一些关于C++的常用功能的

2021-05-01  本文已影响0人  雪域迷影

这篇博客记录的是自己在Github上面总结的一个关于一些C++开发过程中使用到的一些C++第三方库:Cplus_libs_wrapper

Cplus_libs_wrapper

一些关于C++的常用功能的接口实现

1、使用C++实现Windows服务

(I) 例子1:A basic Windows service in C++ (CppWindowsService)

(II) 例子2:Simple Windows Service in C++

2、Modbus软件开发实战指南 libmodbus库的使用

Modbus软件开发实战指南 PDF以及相关资料
提取码:yp3s
包含《MODBUS软件开发实战指南_p283.pdf》、网络调试助手NetAssist.exe、串口虚拟软件VSPD、Modbus Poll、Modbus Slave软件、libmodbus源代码。

(I) 第7章:在VS2015下使用libmodbus库开发完整RTU模式的示例

RTU Master端: TestRtuMaster.c

RTU Slave端: TestRtuSlave.c

(II) 第8章:在VS2015下使用libmodbus库开发完整的TCP模式示例

TCP Server端: TestTcpServer.cpp

TCP Client端: TestTcpClient.cpp

3、WinHTTPClient的使用例子

WinHTTPClient

4、ThirdParty 一些第三方库

ATLRegExp

ATL正则表达式

MySQLWrapper

MySQL的C++封装
MySQLWrapper

XLDownLoad

C++ 迅雷下载接口、
迅雷下载开放引擎 程序实例
XLDownLoad

EasySize

EasySize.h

5、The Boost C++ Libraries

Boost库官网地址为:http://www.boost.org/,本仓库收录了 The Boost C++ Libraries一书的示例代码,examples目录下为本书的代码示例,The Boost C++ Libraries对应的在线地址为:https://theboostcpplibraries.com/
本书包含430多个示例。 每个示例都是完整的,可以编译和执行。 您可以从https://theboostcpplibraries.com/examples下载所有示例,以快速入门。 所有示例均已使用以下编译器进行了测试:Microsoft Visual Studio Professional 2013更新1(带有Service Pack 1的64位Windows 7 Professional),GCC 4.8.3(64位Cygwin 1.7.30),GCC 4.6.3(32) 位的Ubuntu 12.04.4)和Clang 3.3(32位的Ubuntu 12.04.4)。

本书中的所有示例均基于C ++ 11标准。 在测试期间,所有编译器都配置为启用对C ++ 11的支持。 大多数示例都可以在Windows,Linux和OS X上运行,但有一些依赖于平台。 例外在示例描述中说明。

6、C++的一些相关资源

awesome-cpp

A curated list of awesome C++ (or C) frameworks, libraries, resources, and shiny things. Inspired by awesome-... stuff.
http://fffaraz.github.io/awesome-cpp/

CppTemplateTutorial

中文的C++ Template的教学指南。与知名书籍C++ Templates不同,该系列教程将C++ Templates作为一门图灵完备的语言来讲授,以求帮助读者对Meta-Programming融会贯通。

7、Cocos2d-x游戏开发

8、一些C++库在VS2017和CentOS7下的编译和安装、使用

9、一些C++的构建工具:CMake、Makefile工具链的使用

A、CMake的使用

CMake是一个跨平台的Makefile生成工具,可以根据特定的规则生成相应的Makefile文件,并对C/C++源代码进行编译和管理。
有两篇博客介绍CMake的使用,比较通俗易懂,链接地址是:

B、makefile

C、GDB

10、一些C++第三方库

A、CppSQLite - C++ Wrapper for SQLite

CodeProject上面有一个关于Windows系统下SQLite的C++封装类,具体地址为:CppSQLite - C++ Wrapper for SQLite,如下图所示:

CppSqlite
CppSqlite是基于sqlite C语言库的C++的简单封装。

正如介绍中所说的一样:
This article describes CppSQLite, a very thin C++ wrapper around the public domain SQLite database library.

A description of how to link applications with SQLite is provided, then an example program using CppSQLite is presented, and finally the CppSQLite classes are documented.

To set the scene, here is a quote from the SQLite author...

SQLite is a C library that implements an embeddable SQL database engine. Programs that link with the SQLite library can have SQL database access without running a separate RDBMS process. The distribution comes with a standalone command-line access program (SQLite) that can be used to administer a SQLite database and which serves as an example of how to use the SQLite library.

SQLite is not a client library used to connect to a big database server. SQLite is the server. The SQLite library reads and writes directly to and from the database files on disk.
这个库在Windows下Visual Studio环境下还是比较好用的,就是从2011年后就好久没更新过了。

B、FFmpeg学习资料

C、QT开源网站和相关资料

D、redis的C++客户端库

关于redis的C++客户端库,可以参考https://redis.io/clients#c-plus-plus

E、一些常用的C++ Json解析库

F、一些常用的Xml C++解析库

11、fffaraz/awesome-cpp

12、JesseTG/awesome-qt

13、https://github.com/TheAlgorithms

Open Source resource for learning Data Structures & Algorithms and their implementation in any Programming Language

上一篇下一篇

猜你喜欢

热点阅读