01 2020 档案
摘要:// from c++11 standardnamespace std { template <class T, T v> struct integral_constant { static constexpr T value = v; typedef T value_type; typedef i
阅读全文
摘要:当一个数据类型满足了”平凡的定义“和”标准布局“,我们则认为它是一个POD数据,非静态成员都是”平凡的“ 1.平凡的 2.平凡的 3.非静态成员“平凡的”
阅读全文
摘要:void swap (string& x, string& y); #include <iostream>#include <string.h> using namespace std; int main(){ string buyer("money"); string seller("goods"
阅读全文
摘要:(1) istream& getline (istream& is, string& str, char delim); istream& getline (istream&& is, string& str, char delim); (2) istream& getline (istream&
阅读全文
摘要:当出现这个悬浮小窗口时,只要按一下Ctrl,它就消失了
阅读全文
摘要:下载util-linux 安装bison 安装autopoint 安装autoconf 安装lib-tool-2 失败。换方案 下载e2fsprogs https://www.cnblogs.com/lanston/p/4097408.html 然后发现板卡中又mkfs,是mkfs.ext3这种命名
阅读全文
摘要:void push_back (char c);//在string的结尾放置一个字符 #include <iostream>#include <string> using namespace std; int main(){ string str("hello world"); str.push_b
阅读全文
摘要:void pop_back();//弹出最后一个字符 #include <string>#include <iostream> using namespace std;int main(){ string str("hello world!"); str.pop_back(); cout << st
阅读全文