上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 127 下一页
摘要: 摘自:https://www.jb51.net/article/249001.htm func System_CmdCombinedOutput(cmd_line string) ([]byte, error) { mutex_exec.Lock() defer mutex_exec.Unlock( 阅读全文
posted @ 2024-03-13 11:42 LiuYanYGZ 阅读(114) 评论(0) 推荐(0)
摘要: 摘自:https://www.jb51.net/article/249001.htm 这篇文章主要介绍了go程序添加远程调用tcpdump功能,本文给大家介绍的非常详细,对大家的学习或工作具有一定的参考借鉴价值,需要的朋友可以参考下 最近开发的telemetry采集系统上线了。听起来高大上,简单来说 阅读全文
posted @ 2024-03-13 11:32 LiuYanYGZ 阅读(108) 评论(0) 推荐(0)
摘要: 摘自:https://www.jb51.net/article/261677.htm 一.json.hpp库下载及安装 1.1 开源地址及引入方法 nlohmann json的开源项目地址,其中有对json使用方法的详细说明: https://github.com/nlohmann/json#ser 阅读全文
posted @ 2024-03-06 10:12 LiuYanYGZ 阅读(3767) 评论(0) 推荐(0)
摘要: 点击或右键下载到电脑或手机上,清晰! 准备身份证、行驶证、驾驶证,需要原本拍照 阅读全文
posted @ 2024-02-26 11:54 LiuYanYGZ 阅读(165) 评论(0) 推荐(0)
摘要: 摘自:https://blog.csdn.net/qq_27281753/article/details/127202676 问题背景在做项目的时候,遇到一个so调用问题,既别人提供了一些so库,其中一个so库包含了给我调用的函数,而这个库里面的函数又调用了其他库的函数,这些所有的库都是linux下 阅读全文
posted @ 2024-02-23 18:48 LiuYanYGZ 阅读(968) 评论(0) 推荐(0)
摘要: 摘自:文心一言 在C语言中,可以使用stat()函数来判断一个路径对应的是文件、文件夹或者其他类型。 #include <stdio.h> #include <sys/types.h> #include <sys/stat.h> int main() { char path[] = "/path/t 阅读全文
posted @ 2024-02-05 10:39 LiuYanYGZ 阅读(430) 评论(0) 推荐(0)
摘要: 摘自:https://forum.ubuntu.org.cn/viewtopic.php?t=380854 我在学习linux C系统编程,书上有个源代码可以实现自己的ls命令,不过在查错的过程中这个问题卡了我很久 #include <stdio.h> #include <stdlib.h> #in 阅读全文
posted @ 2024-02-05 10:23 LiuYanYGZ 阅读(103) 评论(0) 推荐(0)
摘要: 摘自:https://blog.csdn.net/m0_38062470/article/details/113574697 #include <sys/types.h> #include <sys/stat.h> #include <unistd.h> int stat(const char *p 阅读全文
posted @ 2024-02-05 10:22 LiuYanYGZ 阅读(55) 评论(0) 推荐(0)
摘要: 摘自:https://openjfx.cn 阅读全文
posted @ 2024-02-02 11:09 LiuYanYGZ 阅读(17) 评论(0) 推荐(0)
摘要: 摘自:https://linuxcpp.0voice.com/?id=65276 可以使用标准库中的fstream和string类来读写ini文件。 以下是一个示例代码: #include <iostream> #include <fstream> #include <sstream> #inclu 阅读全文
posted @ 2024-02-01 13:52 LiuYanYGZ 阅读(537) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 127 下一页