浙江省高等学校教师教育理论培训

微信搜索“毛凌志岗前心得”小程序

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2013年4月18日

摘要: C++ string 中 reverse()、assign()、split() - Ninja的日志 - 网易博客C++ string 中 reverse()、assign()、split() 2011-03-30 18:01:24|分类: C++ |标签: |字号大中小订阅reverse()std:: void reverse(s.begin(), s.end());上面是原地反转的方法,... 阅读全文
posted @ 2013-04-18 15:28 lexus 阅读(415) 评论(0) 推荐(0)

摘要: string::swap - huycwork的日志 - 网易博客string::swap 2010-04-13 18:55:53|分类: CPPREFERENCE私房 |标签: |字号大中小订阅swap原型: #include <string>void swap( string& from );函数swap()置换当前字符串与from的元素. 此函数以常量时间(constant time)运行... 阅读全文
posted @ 2013-04-18 15:13 lexus 阅读(190) 评论(0) 推荐(0)

摘要: string::assign - MemoryGarden's Blog - C++博客string::assign Assigns new content to the string replacing its current content.return *thisCode highlighting produced by Actipro CodeHighlighter (freeware)h... 阅读全文
posted @ 2013-04-18 15:12 lexus 阅读(237) 评论(0) 推荐(0)

摘要: std::string.assign()的用法-爱情滕-搜狐博客std::string.assign()的用法2010-08-08 20:09std::string.assign()的用法2009-09-08 09:13assign()C++ string类的成员函数,用于赋值操作。函数原型:string &operator=(const string &s);把字符串s赋给当前字符串string... 阅读全文
posted @ 2013-04-18 15:11 lexus 阅读(555) 评论(0) 推荐(0)

摘要: thrift 使用小结 - 日月光明的日志 - 网易博客thrift 使用小结 2012-09-24 18:15:20|分类: 编程 |标签:thriftoptional |字号订阅 最近在使用thrift的时候,C++遇到optional属性时,遇到问题:虽然赋值,但thrift不会把值送过去。 thrift文件内容可能会随着时间变化的。如果已经存在的消息类型不再符合设计要求,比如,新的... 阅读全文
posted @ 2013-04-18 10:50 lexus 阅读(265) 评论(0) 推荐(0)

摘要: 图灵社区 : 图书 : UNIX网络编程 卷1:套接字联网API(英文版•第3版)UNIX网络编程 卷1:套接字联网API(英文版•第3版) 阅读全文
posted @ 2013-04-18 09:41 lexus 阅读(435) 评论(0) 推荐(0)