会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
MoonXu
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
32
33
34
35
36
37
38
39
40
···
61
下一页
2020年1月17日
string::getline
摘要: (1) istream& getline (istream& is, string& str, char delim); istream& getline (istream&& is, string& str, char delim); (2) istream& getline (istream&
阅读全文
posted @ 2020-01-17 09:15 MoonXu
阅读(141)
评论(0)
推荐(0)
2020年1月16日
取消记事本的中英符号
摘要: 当出现这个悬浮小窗口时,只要按一下Ctrl,它就消失了
阅读全文
posted @ 2020-01-16 09:56 MoonXu
阅读(179)
评论(0)
推荐(0)
2020年1月14日
编译mkfs分区工具
摘要: 下载util-linux 安装bison 安装autopoint 安装autoconf 安装lib-tool-2 失败。换方案 下载e2fsprogs https://www.cnblogs.com/lanston/p/4097408.html 然后发现板卡中又mkfs,是mkfs.ext3这种命名
阅读全文
posted @ 2020-01-14 18:28 MoonXu
阅读(401)
评论(0)
推荐(0)
2020年1月10日
string::push_back()
摘要: void push_back (char c);//在string的结尾放置一个字符 #include <iostream>#include <string> using namespace std; int main(){ string str("hello world"); str.push_b
阅读全文
posted @ 2020-01-10 20:19 MoonXu
阅读(1066)
评论(0)
推荐(0)
string::pop_back
摘要: void pop_back();//弹出最后一个字符 #include <string>#include <iostream> using namespace std;int main(){ string str("hello world!"); str.pop_back(); cout << st
阅读全文
posted @ 2020-01-10 20:15 MoonXu
阅读(508)
评论(0)
推荐(0)
2019年12月31日
string::insert
摘要: string (1) string& insert (size_t pos, const string& str); substring (2) string& insert (size_t pos, const string& str, size_t subpos, size_t sublen);
阅读全文
posted @ 2019-12-31 18:29 MoonXu
阅读(444)
评论(0)
推荐(0)
string::get_allocator
摘要: allocator_type get_allocator() const noexcept; 返回和对象相关的分配器的一个拷贝 #include <iostream>#include <string>#include <vector>using namespace std;int main(){ v
阅读全文
posted @ 2019-12-31 17:56 MoonXu
阅读(444)
评论(0)
推荐(0)
2019年12月30日
strcat的由来
摘要: cat是catenate的缩写, 连接;把…连接成链状
阅读全文
posted @ 2019-12-30 17:36 MoonXu
阅读(521)
评论(0)
推荐(0)
2019年12月26日
ubuntu man不到pthread_mutex_XX
摘要: $sudo apt-get install glibc-doc安装以后,发现还是有很多函数不全,只有一小部分pthread的函数,使用man -k pthread或apropos pthread可以查找到当前manpages中关于pthread的手册。安装manpages-posix-dev就可以了
阅读全文
posted @ 2019-12-26 17:46 MoonXu
阅读(352)
评论(0)
推荐(0)
2019年12月24日
string::front
摘要: char& front(); const char& front() const;功能:返回string对象的首个字符,可以改变它的值 #include <string>#include <iostream> using namespace std; int main(){ string s1("t
阅读全文
posted @ 2019-12-24 23:33 MoonXu
阅读(366)
评论(0)
推荐(0)
上一页
1
···
32
33
34
35
36
37
38
39
40
···
61
下一页
公告