上一页 1 2 3 4 5 6 7 8 9 ··· 17 下一页
摘要: 1 #include 2 3 template 4 void echo(int add) 5 { 6 int sum=add+base; 7 8 std::cout(10); 14 return 0; 15 } 阅读全文
posted @ 2017-08-05 18:43 GoodByeZ 阅读(680) 评论(0) 推荐(0) 编辑
摘要: 系统环境: 1. 官网 http://pinyin.sogou.com/linux/ 下载安装包。 2. 先运行 apt-get update 。 3. 再运行 apt-get -f install 。 4. 再运行 可能有的UBuntu系统自带了。 5. 如果下载的搜狐输入法安装包的格式为 .de 阅读全文
posted @ 2017-07-27 07:58 GoodByeZ 阅读(402) 评论(0) 推荐(0) 编辑
摘要: 参考文章 : http://wiki.ubuntu.org.cn/%E4%BF%AE%E6%94%B9locale 所用 Ubuntu的版本 : 猜想是这样的: 1.字符的编码和显示时,所处的环境不是兼容的时候,就出现乱码的现象了. 2.首先,Ubuntu 默认系统的编码是 UTF-8 的,没有改过 阅读全文
posted @ 2017-07-21 16:28 GoodByeZ 阅读(568) 评论(0) 推荐(0) 编辑
摘要: 原文 : http://kimi.it/496.html 系统环境 : Ubuntu 目标 : 可以像 php 提供的内部函数一样,使用 myecho 函数 : 输出如下 : 1. 获取 php 的源码 : http://php.net/downloads.php , 选择一个适合的版本 ,比如 : 阅读全文
posted @ 2017-07-21 13:55 GoodByeZ 阅读(225) 评论(0) 推荐(0) 编辑
摘要: 和 PHP 内部的函数 range() 对比了一下,在时间没看出有什么的优势,主要是在内存的使用 方式 上吧,有些情况 range() 的使用方式内存占用还是比较大的. 下面的情况内存使用情况的是差不多的: yield.php range.php 差不多就是 32 个字节的使用,刚好32位的指针地址 阅读全文
posted @ 2017-07-20 10:40 GoodByeZ 阅读(507) 评论(0) 推荐(0) 编辑
摘要: 此文相关php知识点见 :http://www.php-internals.com/book/?p=chapt05/05-03-class-visibility 阅读全文
posted @ 2017-07-16 12:15 GoodByeZ 阅读(363) 评论(0) 推荐(0) 编辑
摘要: 1 <?php 2 class D 3 { 4 } 5 6 class A extends D 7 { 8 9 } 10 11 class B extends A 12 { 13 } 14 15 16 function getAncestor($class){ 17 $parent = get_parent_class($class); 18 if(... 阅读全文
posted @ 2017-07-12 10:19 GoodByeZ 阅读(257) 评论(0) 推荐(0) 编辑
摘要: 注意: get_class_vars 获取的属性的值是初始化的默认值,不是运行过程中,更改的值。 阅读全文
posted @ 2017-07-11 13:55 GoodByeZ 阅读(457) 评论(0) 推荐(0) 编辑
摘要: 一次测试,只看一次的测试: 阅读全文
posted @ 2017-07-11 13:47 GoodByeZ 阅读(396) 评论(0) 推荐(0) 编辑
摘要: 测试代码 : 测试截图: 场景视图中 ,左上角顶部的值是 Time.timeScale 的值 阅读全文
posted @ 2017-07-09 19:18 GoodByeZ 阅读(366) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 17 下一页