上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 89 下一页
摘要: Linux 命令行相关 光标移动(shell终端) 左/右移一个字符 方向键 ctrl + b/f 左/右移一个单词 ctrl + 方向键 alt + b/f esc + b/f 移动到行首/尾 ctrl + a/e Vim 命令 光标移动 多行移动 gg 移动文件头 G 移动到文件尾 num k 阅读全文
posted @ 2022-07-21 13:10 王清河 阅读(31) 评论(0) 推荐(0) 编辑
摘要: 头文件:<functional> 定义: template< class R, class... Args > class function<R(Args...)>; std::functional 是一个类模板,它是一个通用的多态函数包装器。std::funcion 的实例可以存储、拷贝、和引用任 阅读全文
posted @ 2022-06-08 15:39 王清河 阅读(1448) 评论(0) 推荐(0) 编辑
摘要: operator 是 C++ 一个重载操作符的关键字,但是 operator 除了可以重载操作符以外,还可以用做对两个不同类的转换。 具体使用如下: #include<iostream> using namespace std; struct X { X(){ num = 10; } // impl 阅读全文
posted @ 2022-06-07 16:10 王清河 阅读(829) 评论(0) 推荐(0) 编辑
摘要: 翻译:https://en.cppreference.com/w/cpp/algorithm/copy 定义在头文件 <algorithm> 函数声明 template< class InputIt, class OutputIt > OutputIt copy( InputIt first, In 阅读全文
posted @ 2022-06-06 15:44 王清河 阅读(663) 评论(0) 推荐(0) 编辑
摘要: 翻译:https://en.cppreference.com/w/cpp/algorithm/fill_n 定义在头文件<algorithm> 函数声明: template< class OutputIt, class Size, class T > void fill_n( OutputIt fi 阅读全文
posted @ 2022-06-06 14:46 王清河 阅读(295) 评论(0) 推荐(0) 编辑
摘要: 翻译:https://en.cppreference.com/w/cpp/iterator/back_inserter 定义在头文件 <iterator> 函数声明如下: template< class Container > std::back_insert_iterator<Container> 阅读全文
posted @ 2022-06-06 14:18 王清河 阅读(57) 评论(0) 推荐(0) 编辑
摘要: 1. display 查看的变量的值会在每一次调试步骤暂停后都会显示出该变量的值,如果 display 了多次,它就会显示多个变量的值 2. print 显示的变量的值只会显示一次,当前的值。 3. 取消display显示的值需要使用 undisplay 命令; 4. 条件判断的断点中的判断条件,不 阅读全文
posted @ 2022-06-02 16:55 王清河 阅读(122) 评论(0) 推荐(0) 编辑
摘要: 一、断点相关 1. breakInfo:根据一定的条件暂停程序的运行 命令 作用 break 下一个指令处设置断点 break [file]:function 在 file 文件的 function 函数入口设置断点 break [file]:line 在 file 文件的第 line 行设置断点 阅读全文
posted @ 2022-06-02 14:19 王清河 阅读(184) 评论(0) 推荐(0) 编辑
摘要: 1. 获取 xlsx 文件的 sheet 数量 sheet1 = wb.sheetnames print("sheet : ", len(sheet1)) 阅读全文
posted @ 2022-04-03 16:12 王清河 阅读(496) 评论(0) 推荐(0) 编辑
摘要: stash 相关 查看 stash 内容: git stash show -p stash@{index} 删除某一个stash 内容 git stash drop stash@{index} 如果 git stash list 有多条记录,并且你想 pop 第 2 个 stash: git sta 阅读全文
posted @ 2022-03-01 14:52 王清河 阅读(22) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 89 下一页