Skip to content

ccf19881030/Cplus_libs_wrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 

Repository files navigation

Cplus_libs_wrapper

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

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

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

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++的一些相关资源

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

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

7、Cocos2d-x游戏开发

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

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

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

B、makefile

C、GDB

10、一些C++第三方库

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年后就好久没更新过了。

D、redis的C++客户端库

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

  • nlohmann/json JSON for Modern C++
  • rapidjson A fast JSON parser/generator for C++ with both SAX/DOM style API

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

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.

C/C++ 技术面试基础知识总结,包括语言、程序库、数据结构、算法、系统、网络、链接装载库等知识及面试经验、招聘、内推等信息。

15、OpenCV C++使用示例

About

一些常用C++接口和开发库的使用示例代码

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published