lnlidawei

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
上一页 1 2 3 4 5 6 7 ··· 39 下一页

2024年2月29日

摘要: [python] python official documentation - (python 官方帮助文档) 一、python 常用文档(官方) 1、python【在线文档】(英文): 1.1: https://docs.python.org 1.2: https://docs.python.o 阅读全文
posted @ 2024-02-29 01:35 lnlidawei 阅读(34) 评论(0) 推荐(0) 编辑

2024年2月19日

摘要: [win_os] chrome浏览器 -- 添加自定义搜索引擎并将其设置为默认搜索引擎(转载裁切) 一、搜索引擎集合 1、【bing】: https://global.bing.com/search?q=%s 2、【sogou】: https://www.sogou.com/web?query=%s 阅读全文
posted @ 2024-02-19 15:16 lnlidawei 阅读(90) 评论(0) 推荐(0) 编辑

2024年2月14日

摘要: [cpp]: 双向链表的实现 一、思路或者原理 1、双向链表的实现思路: 1.1、【链节】:【链节】是【链表】的基本单位; 1.2、【链表】:由多个【链节】组成一个【链表】。 2、【链节】(data class):【链节data】是组成【链表chains】的基本单元,【链节data】用于存储数据。 阅读全文
posted @ 2024-02-14 09:16 lnlidawei 阅读(17) 评论(0) 推荐(0) 编辑

2024年2月7日

摘要: [python3]: python --【class】类变量(类属性) 一、说明: 1、类变量:类变量,定义在【类内】且【函数外】。 1 class object: 2 3 # class_variable 4 icount = 0 5 6 7 def __init__(self): 8 # usi 阅读全文
posted @ 2024-02-07 15:02 lnlidawei 阅读(62) 评论(0) 推荐(0) 编辑

2024年2月6日

摘要: [python3]: 50个【空元素】初始化数据结构【list】 一、需求 1、 需求:用50个空元素,初始化一个数据结构‘列表’。 lst = [ '' for i in range(50) ] 2、 需求: 改变某个列表元素的值。 lst = [ '' for i in range(50) ]  阅读全文
posted @ 2024-02-06 01:53 lnlidawei 阅读(6) 评论(0) 推荐(0) 编辑

2024年2月1日

摘要: [cpp]: my_systemcall() 一、说明 1、 C语言可以用【struct】替代C++的【class】。 二、代码 1 #include <iostream> 2 #include <string> 3 4 5 // system_calls tables 6 class c_sys_ 阅读全文
posted @ 2024-02-01 23:57 lnlidawei 阅读(4) 评论(0) 推荐(0) 编辑

摘要: [python]: open(file) 文件读写(二) -- 读取文件,删除换行符(\n) 一、说明 0、 操作系统: fedora37 1、 python版本: Python 3.11.7 2、 读取文件(flie.readlines()): 删除每行末尾的换行符('\n') 1 fh = op 阅读全文
posted @ 2024-02-01 01:25 lnlidawei 阅读(19) 评论(0) 推荐(0) 编辑

摘要: [python]: open(file) 文件读写(一) 一、说明 1、 os = fedora37; python版本: Python 3.11.7 2、 【python】读取文件:读取内容的数据类型是【字符串】; 3、 字符串分割函数: str.split() 4、 【python】【字符串】转 阅读全文
posted @ 2024-02-01 00:46 lnlidawei 阅读(3) 评论(0) 推荐(0) 编辑

2024年1月31日

摘要: [cpp]: thread -- with header <syncstream> 一、说明: 1、 【并发编程】thread编程中的同步输出: std::osyncstream // Defined in header <syncstream> 二、程序代码 1 #include <iostrea 阅读全文
posted @ 2024-01-31 14:10 lnlidawei 阅读(8) 评论(0) 推荐(0) 编辑

2024年1月29日

摘要: [cpp]: 常量字符串的声明(const char* const localeName = "zh_CN.utf-8") 一、说明 1、编译环境: g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.83.0-gcc-13.2.0/include -s 阅读全文
posted @ 2024-01-29 02:20 lnlidawei 阅读(6) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 7 ··· 39 下一页