04 2013 档案

摘要:文章转载于:http://c.chinaitlab.com/example/894565.html最近使用C++编写了一些小东西,发现自己在string方面比较差,今天总结一下。 ## string对象的定义和初始化 string类型支持长度可变的字符串,对于string的使用:#include<string> using std::string string s1; 默认构造函数,s1为空串 string s2(s1) 将s2初始化为s1的副本 string s3("value") ... 阅读全文
posted @ 2013-04-30 23:38 sndnvaps 阅读(224) 评论(0) 推荐(0) 编辑
摘要:头文件 sn_function.hpp 1 #ifndef _SN_FUNCTIONS_HPP 2 #define _SN_FUNCTIONS_HPP 3 4 #include <string> 5 6 using namespace std; 7 8 class SNFunc 9 {10 public:11 static int remove_permission_x(string *filename);12 static void disable_official_recovery();13 //static int root_device();14 ... 阅读全文
posted @ 2013-04-28 20:55 sndnvaps 阅读(1243) 评论(0) 推荐(0) 编辑
摘要:-Wl,--path -Wl,DIR -Wl,-soname,"libbusybox.so" 阅读全文
posted @ 2013-04-25 21:15 sndnvaps 阅读(1022) 评论(0) 推荐(0) 编辑
摘要:用C++写的课表程序。 可以传入二个参数 -all -input 阅读全文
posted @ 2013-04-21 19:33 sndnvaps 阅读(1155) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示