会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
GoodByeZ
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
9
···
17
下一页
2017年8月5日
C++ 利用template给函数中的变量赋初值
摘要: 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
阅读(700)
评论(0)
推荐(0)
2017年7月27日
Ubuntu 安装中文
摘要: 系统环境: 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
阅读(428)
评论(0)
推荐(0)
2017年7月21日
Ubuntu 终端中文回显乱码
摘要: 参考文章 : http://wiki.ubuntu.org.cn/%E4%BF%AE%E6%94%B9locale 所用 Ubuntu的版本 : 猜想是这样的: 1.字符的编码和显示时,所处的环境不是兼容的时候,就出现乱码的现象了. 2.首先,Ubuntu 默认系统的编码是 UTF-8 的,没有改过
阅读全文
posted @ 2017-07-21 16:28 GoodByeZ
阅读(667)
评论(0)
推荐(0)
php 学习编译扩展
摘要: 原文 : http://kimi.it/496.html 系统环境 : Ubuntu 目标 : 可以像 php 提供的内部函数一样,使用 myecho 函数 : 输出如下 : 1. 获取 php 的源码 : http://php.net/downloads.php , 选择一个适合的版本 ,比如 :
阅读全文
posted @ 2017-07-21 13:55 GoodByeZ
阅读(234)
评论(0)
推荐(0)
2017年7月20日
PHP yield代替range生成范围内的数
摘要: 和 PHP 内部的函数 range() 对比了一下,在时间没看出有什么的优势,主要是在内存的使用 方式 上吧,有些情况 range() 的使用方式内存占用还是比较大的. 下面的情况内存使用情况的是差不多的: yield.php range.php 差不多就是 32 个字节的使用,刚好32位的指针地址
阅读全文
posted @ 2017-07-20 10:40 GoodByeZ
阅读(514)
评论(0)
推荐(0)
2017年7月16日
PHP pa和ma
摘要: 此文相关php知识点见 :http://www.php-internals.com/book/?p=chapt05/05-03-class-visibility
阅读全文
posted @ 2017-07-16 12:15 GoodByeZ
阅读(401)
评论(0)
推荐(0)
2017年7月12日
PHP get_parent_class
摘要: 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
阅读(262)
评论(0)
推荐(0)
2017年7月11日
PHP get_object_vars 和 get_class_vars
摘要: 注意: get_class_vars 获取的属性的值是初始化的默认值,不是运行过程中,更改的值。
阅读全文
posted @ 2017-07-11 13:55 GoodByeZ
阅读(464)
评论(0)
推荐(0)
PHP get_class_vars 和 (array)
摘要: 一次测试,只看一次的测试:
阅读全文
posted @ 2017-07-11 13:47 GoodByeZ
阅读(400)
评论(0)
推荐(0)
2017年7月9日
Unity Time.timeScale
摘要: 测试代码 : 测试截图: 场景视图中 ,左上角顶部的值是 Time.timeScale 的值
阅读全文
posted @ 2017-07-09 19:18 GoodByeZ
阅读(380)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
···
17
下一页
公告