前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >Cplus_libs_wrapper-一些关于C++的常用功能的接口实现

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

作者头像
ccf19881030
发布2021-05-06 16:29:06
2K0
发布2021-05-06 16:29:06
举报
文章被收录于专栏:ccf19881030的博客ccf19881030的博客

自己总结的一个有关C++的一些第三方库,包括示例和链接,目前已经托管到Github上面: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是基于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++解析库

  • pugixml Light-weight, simple and fast XML parser for C++ with XPath support 只需要包含头文件然后引入使用就成,不需要编译Lib库就能使用,个人感觉使用起来比较顺手。
  • tinyxml2 TinyXML2 is a simple, small, efficient, C++ XML parser that can be easily integrated into other programs.
  • Qt的Xml解析库 可以使用Qt的xml解析模块,常见的Qt的Xml读写类可以参考Qt帮助手册,比如QxmlReaderQXmlStreamReaderQXmlStreamWriter

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

  • TheAlgorithms/C-Plus-Plus Collection of various algorithms in mathematics, machine learning, computer science and physics implemented in C++ for educational purposes.
本文参与 腾讯云自媒体分享计划,分享自作者个人站点/博客。
原始发表:2021-05-01 ,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • Cplus_libs_wrapper
    • 1、使用C++实现Windows服务
      • (I) 例子1:A basic Windows service in C++ (CppWindowsService)
      • (II) 例子2:Simple Windows Service in C++
    • 2、Modbus软件开发实战指南 libmodbus库的使用
      • (I) 第7章:在VS2015下使用libmodbus库开发完整RTU模式的示例
      • (II) 第8章:在VS2015下使用libmodbus库开发完整的TCP模式示例
    • 3、WinHTTPClient的使用例子
      • 4、ThirdParty 一些第三方库
        • ATLRegExp
        • MySQLWrapper
        • XLDownLoad
        • EasySize
      • 5、The Boost C++ Libraries
        • 6、C++的一些相关资源
          • awesome-cpp
          • CppTemplateTutorial
          • 7、Cocos2d-x游戏开发
        • 8、一些C++库在VS2017和CentOS7下的编译和安装、使用
          • 9、一些C++的构建工具:CMake、Makefile工具链的使用
            • A、CMake的使用
            • B、makefile
            • C、GDB
          • 10、一些C++第三方库
            • A、CppSQLite - C++ Wrapper for SQLite
            • B、FFmpeg学习资料
            • C、QT开源网站和相关资料
            • D、redis的C++客户端库
            • E、一些常用的C++ Json解析库
            • F、一些常用的Xml C++解析库
          • 11、fffaraz/awesome-cpp
            • 12、JesseTG/awesome-qt
              • 13、https://github.com/TheAlgorithms
              相关产品与服务
              云数据库 MySQL
              腾讯云数据库 MySQL(TencentDB for MySQL)为用户提供安全可靠,性能卓越、易于维护的企业级云数据库服务。其具备6大企业级特性,包括企业级定制内核、企业级高可用、企业级高可靠、企业级安全、企业级扩展以及企业级智能运维。通过使用腾讯云数据库 MySQL,可实现分钟级别的数据库部署、弹性扩展以及全自动化的运维管理,不仅经济实惠,而且稳定可靠,易于运维。
              领券
              问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档