![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
文件io
文章平均质量分 57
weixin_43773499
这个作者很懒,什么都没留下…
展开
-
使用c++版本nlohmann::json库快速写入、读取json文件
nlohmann::json库本身提供了一些宏,能够实现快速实现序列化、反序列化的json目的。原创 2023-05-17 16:45:05 · 3354 阅读 · 0 评论 -
C++ 读取配置文件
C++ 读取配置文件文章目录C++ 读取配置文件前言一、配置文件二、代码示例前言C++ 读取配置文件示例提示:以下是本篇文章正文内容,下面案例可供参考一、配置文件示例:文件内容如下所示,需读取配置文件中指定参数gain = 10channel = 4bw = 50centerFreq = 2450二、代码示例代码如下(示例):#include <iostream>#include <fstream>#include <string&g原创 2021-05-03 10:39:20 · 933 阅读 · 0 评论