上一页 1 2 3 4 5 6 7 ··· 32 下一页
摘要: 1. 获取IOS APP占用的内存#import // ...void report_memory(void) { struct task_basic_info info; mach_msg_type_number_t size = sizeof(info); kern_return_t ke... 阅读全文
posted @ 2015-07-21 11:13 wiessharling 阅读(1310) 评论(0) 推荐(0) 编辑
摘要: 1. pushScene后,如果才能保持前一个Scene的所有动作,比如schedule2. APP进入到背景模式运行时,如何让它仍然做一些工作? 阅读全文
posted @ 2015-07-20 20:23 wiessharling 阅读(102) 评论(0) 推荐(0) 编辑
摘要: 1.Linux中proc目录下文件详解http://wenku.baidu.com/view/2ce89f00a6c30c2259019ef1.html2.Android系统/proc目录详解3.android proc 进程信息解析http://wenku.baidu.com/view/6530a... 阅读全文
posted @ 2015-07-14 11:57 wiessharling 阅读(380) 评论(0) 推荐(0) 编辑
摘要: v0.2 - Last updated November 8, 2013源自Google's C++ coding stylerev. 3.274目录 由 DocToc生成 头文件 #define用法 前向声明 内联函数 -inl.h文件 函数参数顺序 include的命名和顺序 作用域 命名空间 ... 阅读全文
posted @ 2015-07-09 18:52 wiessharling 阅读(1728) 评论(0) 推荐(0) 编辑
摘要: 1. 在装好环境2.cocos new [-h] [-p PACKAGE_NAME] -l {cpp,lua,js} [-d DIRECTORY] [-t TEMPLATE_NAME] [--ios-bundleid IOS_BUNDLEID] [--mac-bundle... 阅读全文
posted @ 2015-07-09 17:36 wiessharling 阅读(138) 评论(0) 推荐(0) 编辑
摘要: sudo apt-get install mysql-serversudo apt-get install libmysqlclient-dev 阅读全文
posted @ 2015-05-14 19:56 wiessharling 阅读(125) 评论(0) 推荐(0) 编辑
摘要: ping是一个通信协议,是ip协议的一部分,tcp/ip 协议的一部分。利用它可以检查网络是否能够连通,用好它可以很好地帮助我们分析判定网络故障。应用格式为:Ping IP地址。但服务启用ping有时候会造成很多麻烦。因此有时候根据需要(如防止攻击),Linux服务器管理员可限制服务器禁止其它用户P... 阅读全文
posted @ 2015-05-06 09:38 wiessharling 阅读(159) 评论(0) 推荐(0) 编辑
摘要: rapidxml http://rapidxml.sourceforge.net/index.htm 阅读全文
posted @ 2015-05-04 22:27 wiessharling 阅读(124) 评论(0) 推荐(0) 编辑
摘要: /* * Copyright (c) 1996-1997 * Silicon Graphics Computer Systems, Inc. * * Permission to use, copy, modify, distribute and sell this software * and it... 阅读全文
posted @ 2015-04-05 01:25 wiessharling 阅读(427) 评论(0) 推荐(0) 编辑
摘要: 1. 多线程安全的单例模式(double check) 1 class Locker 2 { 3 public: 4 Locker() 5 { 6 pthread_mutex_init(&m_mutex, NULL); 7 } 8 9 ~Locker... 阅读全文
posted @ 2015-04-01 19:16 wiessharling 阅读(199) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 32 下一页