摘要: Template Metaprogramming八皇后 小练习http://accu.org/index.php/journals/424http://isocpp.org/blog/2014/12/cpp-template-metaprogramming 阅读全文
posted @ 2014-12-30 18:23 withChengChen 阅读(134) 评论(0) 推荐(0) 编辑
摘要: 转载自http://www.stroustrup.com/C++11FAQ.html仅供个人参考, 收藏用control of defaults: move and copyBy default, a class has 5 operations:copy assignmentcopy constr... 阅读全文
posted @ 2014-12-30 16:08 withChengChen 阅读(214) 评论(0) 推荐(0) 编辑
摘要: 不知为何ubuntu14.04 repository 的eclipse还是3.x用的不爽, 拖放安装插件都不行我先下了eclipse[luna]的压缩包,然后解压到/opt.在 ~/ 下 vim eclipse.desktop然后 chmod +x eclipse.desktop就可以点击鼠标打开e... 阅读全文
posted @ 2014-12-27 09:47 withChengChen 阅读(1852) 评论(0) 推荐(0) 编辑
摘要: IBM的wsdl教程http://www.ibm.com/developerworks/opensource/tutorials/os-php-webservice-eclipse/ 阅读全文
posted @ 2014-12-26 16:36 withChengChen 阅读(95) 评论(0) 推荐(0) 编辑
摘要: 原文地址:http://www.cnblogs.com/huxi/archive/2010/07/04/1771073.html 感谢原作者AstralWind下图列出了Python支持的正则表达式元字符和语法:1.2. 数量词的贪婪模式与非贪婪模式正则表达式通常用于在文本中查找匹配的字符串。Pyt... 阅读全文
posted @ 2014-12-25 22:37 withChengChen 阅读(398) 评论(0) 推荐(0) 编辑
摘要: 用一年时间如何能掌握 C++ ?修改有一定 C 语言基础,日后想从事游戏开发等工作,给自己一年时间,能在此期间精通 C++ 吗?Milo Yip,游戏程序员、《游戏引擎架构》译者张麦克、什么、乘风者等人赞同本人大约从20多年前开始学习及使用C++,但仍未达到我认为「精通」的阶段,甚至对于C++11的... 阅读全文
posted @ 2014-12-22 22:52 withChengChen 阅读(3271) 评论(0) 推荐(0) 编辑
摘要: 指令名称:chmod使用权限:所有使用者使用方式:chmod[-cfvR][--help][--version]modefile...说明:Linux/Unix的档案调用权限分为三级:档案拥有者、群组、其他。利用chmod可以藉以控制档案如何被他人所调用。参数:mode:权限设定字串,格式如下:[u... 阅读全文
posted @ 2014-11-03 12:41 withChengChen 阅读(237) 评论(0) 推荐(0) 编辑
摘要: C++中规定, 一个类中member variable的初始化顺序和他们在类中被声明的顺序(而不是在构造函数中使用的顺序)最好是一致的.下面看一个违反规则而发生错误的例子. 阅读全文
posted @ 2014-10-12 00:00 withChengChen 阅读(150) 评论(0) 推荐(0) 编辑
摘要: 啦啦啦转载自coolshell.cn,作者陈皓BF语言介绍Brainfuck,是一种极小化的计算机语言,它是由Urban Müller在1993年创建的。这种语言有时被称为brainf**k或brainf***,甚至被简称为BF。这种语言,是一种按照“Turing complete(完整图灵机)”思... 阅读全文
posted @ 2014-10-02 19:01 withChengChen 阅读(495) 评论(0) 推荐(0) 编辑
摘要: #include#includeusingnamespacestd;classA{private:intdata;//dataint*pi;//pointtodatapublic://禁止隐式转换A(){data=0;pi=&data;}~A(){data=-999999;pi=nullptr;}e... 阅读全文
posted @ 2014-09-28 17:35 withChengChen 阅读(289) 评论(0) 推荐(0) 编辑