摘要: #include #include int MyAtoi(const char* str) { if (str == NULL) return 0; int slen = strlen(str); if(slen ='0')&&(*c <= '9')) { t = *c-'0'; ret = ret *10+... 阅读全文
posted @ 2015-02-28 21:06 孙永杰 阅读(634) 评论(2) 推荐(0)
摘要: 使用root用户打开eclipse help –> install new software http://viplugin.com 破解 使用root用户 在eclipse根目录下建立文件:viPlugin2.lic。并使用记事本打开,将以下字符串插入其中: q1MHdGlxh7nCyn_FpHaVazxTdn1tajjeIABlcgJBc20 2、重启eclipse vipl... 阅读全文
posted @ 2015-02-28 20:17 孙永杰 阅读(455) 评论(0) 推荐(0)
摘要: //class Resource {//public:// Resource(parms p): r(allocate(p)) { }// ~Resource() { release(r); }// // also need to define copy and assignmen... 阅读全文
posted @ 2015-02-28 18:33 孙永杰 阅读(321) 评论(0) 推荐(0)
摘要: 新建工程,makefile project with existing code选择目录,在目录下新建makefile文件,makefile文件中要有all : 这样的字样and work with github 阅读全文
posted @ 2015-02-28 09:56 孙永杰 阅读(1282) 评论(0) 推荐(0)