lnlidawei

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 39 下一页

2022年7月4日

摘要: c:struct之匿名struct 一、代码: /* * gcc11.1(c17) * */ #include <stddef.h> #include <stdio.h> // 定义常规struct和指针struct typedef struct { // 匿名struct的定义 struct{ c 阅读全文
posted @ 2022-07-04 01:02 lnlidawei 阅读(141) 评论(0) 推荐(0) 编辑

2022年7月3日

摘要: c: macro define 复杂的宏定义 一、源码 [root@rockylinux tmp]# cat macro_define.c /** * 宏命定义的注意事项: * 1、带有参数的宏,参数使用时需要写在"()"之中,这样在宏展开时不会改变设计时的运算级别,保证结果正确; * 举例:#de 阅读全文
posted @ 2022-07-03 11:53 lnlidawei 阅读(131) 评论(0) 推荐(0) 编辑

2022年7月1日

摘要: c: setjmp.h 库的使用 一、代码 [root@rockylinux tmp]# cat setjmp.c /* longjmp example */ #include /* printf */ #include /* jmp_buf, setjmp, longjmp */ int main 阅读全文
posted @ 2022-07-01 14:33 lnlidawei 阅读(40) 评论(0) 推荐(0) 编辑

摘要: c:c语言数字转化为字符串以及指向三维数组的指针 [root@rockylinux tmp]# cat pointer_array.c [root@rockylinux tmp]# cat pointer_array.c /* date: 2022-07-01 * * * 知识点:数字转化为字符串: 阅读全文
posted @ 2022-07-01 10:47 lnlidawei 阅读(278) 评论(0) 推荐(0) 编辑

摘要: os-kali: kali - 配置网络和网络源 一、网络配置(nic := network interface card) ┌──(novice㉿kali)-[/etc/NetworkManager/system-connections]└─$ ls 'Wired connection 1' ┌─ 阅读全文
posted @ 2022-07-01 08:33 lnlidawei 阅读(253) 评论(0) 推荐(0) 编辑

2022年6月20日

摘要: 鸡蛋腌制的方法 一、清洗“鸡蛋” 1、第一遍清洗:用“清水”清洗鸡蛋表面的污渍; 2、第二遍清洗:用“清水”再次清洗鸡蛋,每个鸡蛋多洗几次,目的彻底鸡蛋表面的脏东西; 3、第三遍清洗:用“白醋”泡清洗干净的鸡蛋,时长1小时~2小时;作用是杀菌; 二、晒“鸡蛋” 1、将用“白醋”泡过的鸡蛋晾干,然后太 阅读全文
posted @ 2022-06-20 12:53 lnlidawei 阅读(222) 评论(0) 推荐(0) 编辑

2022年6月19日

摘要: gcc 官方手册 一、gcc官方文档:包含多类编程语言的文档(c/cpp/go...) 1、gcc_docs: https://gcc.gnu.org/onlinedocs/ 二、gcc c/cpp语言: 1、c/cpp参考手册: GCC 12.1 Manual (also in PDF or Po 阅读全文
posted @ 2022-06-19 07:20 lnlidawei 阅读(197) 评论(0) 推荐(0) 编辑

2022年6月13日

摘要: html:jQuery 添加class的值以及事件响应 一、测试环境 菜鸟教程(https://www.runoob.com):https://www.runoob.com/try/try.php?filename=tryjquery_hide_p 二、测试内容:将下面代码,复制到测试环境的左侧的源 阅读全文
posted @ 2022-06-13 06:59 lnlidawei 阅读(228) 评论(0) 推荐(0) 编辑

2022年6月9日

摘要: 电信宽带网络端口激活/刷新(自助) 一、电信自助端口激活: 10001 + 报故障:宽带故障 + 1 + 1 + 身份证号码 二、详细说明: “10001” + “语音:报故障“ + ”语音:宽带故障” + 1(确认故障号码) + 1(宽带一键修复) + “输入身份证号码” 阅读全文
posted @ 2022-06-09 21:23 lnlidawei 阅读(1652) 评论(0) 推荐(0) 编辑

摘要: Linux 命令行中的通配符 一、通配符概述 0、说明: bash环境, 在“英文输入法”状态下操作; 1、* 匹配“0”或多个字符; 字符数>=0 2、? 匹配任意‘单个字符’ 3、[] 匹配范围内的‘单个字符’ 4、[^] 不匹配范围内的‘单个字符’ 5、[!] 不匹配范围内的‘单个字符’ 6、 阅读全文
posted @ 2022-06-09 05:27 lnlidawei 阅读(264) 评论(0) 推荐(0) 编辑

上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 39 下一页