01 2024 档案
摘要:目录LabelEntrySpinButtonProgressBarInfoBarTooltips Label Gtk::Label 可以在Label构造函数中指定文本, or later with the set_text() or set_markup() methods. 标签的宽度将自动调整。
阅读全文
摘要:目录基础解析 Chapter 7. Range Widgets https://gtkmm.org/en/documentation.html https://gnome.pages.gitlab.gnome.org/gtkmm-documentation/index.html 基础 容器: 容器小
阅读全文
摘要:declval用于非求值上下文中 declval 原形: template<typename _Tp> auto declval() noexcept -> decltype(__declval<_Tp>(0)) { static_assert(__declval_protector<_Tp>::_
阅读全文
摘要:目录时间复杂度空间复杂度 时间复杂度 执行次数函数大O表示阶 13O(1)常数阶 2n+3O(n)线性阶 3n²+2n+1O(n2)平方阶 5log2n+20O(logn)对数阶 2n+3nlog2n+19O(nlogn)nlogn阶 6n3+2n2+3n+4O(n3)立方阶 2nO(2n)
阅读全文
摘要:实现概要: 读取放入buf后 查找匹配的第一个字符 然后使用seek()移动文件指针,peek()查看 剩余的字符是否匹配 如果剩余的字符匹配 把该字符串在文件中的位置 push 进一个vector<int>中 再继续查看剩余的文件内容 // str2.cpp -- capacity() and r
阅读全文
摘要:______________________________________________________________________________________ | fgetc 是 file get char 的缩写,意思是从指定的文件中读取一个字符。fgetc() 的用法为: | |
阅读全文