Loading

上一页 1 2 3 4 5 6 ··· 19 下一页
摘要: title: "C++:重点解读" top: false date: 2025-02-20 10:21:25 tags: - virtual function categories: - C/C++ description: C++虚函数实现类的多态性 概念解释 关键概念:类&对象、基类、派生类、父 阅读全文
posted @ 2025-04-08 10:50 eiSouthBoy 阅读(68) 评论(0) 推荐(0)
摘要: title: 'Matter for Linux 环境搭建' top: false date: 2025-01-10 15:14:26 tags: - Matter for Linux categories: - Matter description: 在Ubuntu22.04上搭建Matter环境 阅读全文
posted @ 2025-04-02 10:17 eiSouthBoy 阅读(159) 评论(0) 推荐(0)
摘要: template.h /* * @Description: * @Author: * @version: * @Date: * @LastEditors: * @LastEditTime: */ #ifndef __xxx_H__ #define __xxx_H // // Include file 阅读全文
posted @ 2024-11-29 14:15 eiSouthBoy 阅读(128) 评论(0) 推荐(0)
摘要: hexo引用本地文章有两种方式: 方式1: {% post_link 'article_name' %} 例如: {% post_link 'bluetoothctl client tool' %} 方式2: {% post_link '2024/08/16/bluetoothctl-client- 阅读全文
posted @ 2024-09-25 09:46 eiSouthBoy 阅读(63) 评论(0) 推荐(0)
摘要: ./your_program > /dev/null 2>&1 & 阅读全文
posted @ 2024-09-14 17:18 eiSouthBoy 阅读(29) 评论(0) 推荐(0)
摘要: Tips: hexo Github hexo 使用文档(英文) hexo 使用文档(中文) 博客地址 一、安装依赖包 hexo需要依赖:nodejs、npm等依赖包,先下载: # 更新apt源和升级本地软件包 sudo apt update sudo apt upgrade # 安装依赖包 sudo 阅读全文
posted @ 2024-08-14 19:01 eiSouthBoy 阅读(69) 评论(0) 推荐(0)
摘要: Docker简介 Docker是一个开源的应用容器引擎,可以帮助开发者快速构建、共享和运行应用程序。 利用Docker,我可以在ubuntu宿主机上装上ubuntu20.04容器和ubuntu22.04容器,用来作为开发环境,而不影响ubuntu宿主机。 Docker安装 首先需要确认本地是否已安装 阅读全文
posted @ 2024-08-10 11:06 eiSouthBoy 阅读(135) 评论(0) 推荐(0)
摘要: 一、安装准备 建议使用Ubuntu 20.04 或 Ubuntu 22.04 操作系统 为了在 Ubuntu 22.04 中使用 esp-idf,需要安装一些依赖包 sudo apt-get install git wget flex bison gperf python3\ python3-pip 阅读全文
posted @ 2024-08-08 16:17 eiSouthBoy 阅读(2077) 评论(0) 推荐(0)
摘要: 切换分支 查看本地分支,执行命令:git branch -a 当前指向的分支是:wifi_support,现在我想切换到分支:develop。执行命令:git checkout develop,结果失败了,并提示错误原因,如下图 可以看到,是因为有文件修改了,但没有提交。可以执行:git statu 阅读全文
posted @ 2024-08-07 12:04 eiSouthBoy 阅读(36) 评论(0) 推荐(0)
摘要: 除了特别说明外,否则以下命令均为ubuntu 22.04 容器内执行!!! 安装 查看ubuntu22.04 有没有安装openssh-server,执行命令:sudo dpkg --list | grep ssh 没有找到openssh-server的包,很显然,没有安装,那么就开始安装,执行:s 阅读全文
posted @ 2024-08-04 20:28 eiSouthBoy 阅读(1167) 评论(0) 推荐(0)
摘要: 信号的简介 信号(signal):在 Linux 系统中,信号是一种进程间通信(IPC)的机制,主要用于通知进程发生了某些异常或特殊情况。信号可以由硬件异常(如除零错误)、软件异常(如非法内存访问)或来自其他进程的通知(如终止请求)触发。Linux 支持多种信号,每种信号都有其特定的用途和默认行为。 阅读全文
posted @ 2024-07-14 16:52 eiSouthBoy 阅读(35) 评论(0) 推荐(0)
摘要: 数据的表示 进制 对于整数的表示形式有:十进制、二进制、八进制、十六进制。例如:char a= 17, b = 0B00010001, c = 021, d = 0X11; 其实 a, b, c ,d 是都相等的。写个demo验证一下 #include <stdio.h> int main(int 阅读全文
posted @ 2024-07-07 19:08 eiSouthBoy 阅读(42) 评论(0) 推荐(0)
摘要: 原型声明:strtok() 所属头文件:#include <string.h> 函数原型: char * strtok ( char * str, const char * delimiters); 通过给定标志字符串delimiters分割目标字符串,目标字符串str不能是常量字符串。若分割成功, 阅读全文
posted @ 2024-07-03 20:56 eiSouthBoy 阅读(140) 评论(0) 推荐(0)
摘要: 解析数组 将JSON数组解析并存储到自定义的结构体组合的单链表中,打印单链表中所有的结点数据。 例如: [ { "name": "Zhao", "age": 18 }, { "name": "Qian", "age": 19 }, { "name": "Sun", "age": 20 } ] 需要用 阅读全文
posted @ 2024-07-03 20:25 eiSouthBoy 阅读(189) 评论(0) 推荐(0)
摘要: 使用cJSON库构建比较简单的JSON类型: create_json.c #include <stdio.h> #include <string.h> #include <stdlib.h> #include "cJSON.h" static int create_json_type_1(void) 阅读全文
posted @ 2024-07-02 21:23 eiSouthBoy 阅读(67) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 ··· 19 下一页