摘要: #ifndef __CCARMATUREDEFINE_H__#define __CCARMATUREDEFINE_H__//#define _USRDLL 1#include "cocos2d.h"#include "ExtensionMacros.h"#ifndef ENABLE_PHYSICS_... 阅读全文
posted @ 2014-06-08 21:00 hrhguanli 阅读(135) 评论(0) 推荐(0) 编辑
摘要: icanhazip.com 使你在不论什么地方知道你的公网IP地址icanhazip.com是一个网址,你在浏览器中输入这个网址,你就能得到你的公网IP地址了。我在Linux下一般使用curl icanhazip.com来获得我的公网IP地址。来个实例:[root@syy ~]# curl ican... 阅读全文
posted @ 2014-06-08 20:26 hrhguanli 阅读(4353) 评论(0) 推荐(0) 编辑
摘要: 转载请注明出处!原文链接:http://blog.csdn.net/zgyulongfei/article/details/7909006有时候因为种种原因,我们须要採集某个站点的数据,但因为不同站点对数据的显示方式略有不同!本文就用Java给大家演示怎样抓取站点的数据:(1)抓取原网页数据;(2)... 阅读全文
posted @ 2014-06-08 19:38 hrhguanli 阅读(216) 评论(0) 推荐(0) 编辑
摘要: 本程序生成一个OpenCL Program,然后获取Program的source,事实上它的source就是一个char[],能够打印出来。然后我们把这些内容和原来文本的内容对照,看看是否是我们想要读入的内容。还能够測试是否编译正确,假设不对会有输出提示的。以下程序执行例如以下:前面都是读入的函数代... 阅读全文
posted @ 2014-06-08 18:10 hrhguanli 阅读(451) 评论(0) 推荐(0) 编辑
摘要: 本文转自大牛博客:http://www.byvoid.com/blog/hungary/这是一种用增广路求二分图最大匹配的算法。它由匈牙利数学家Edmonds于1965年提出,因而得名。 定义 未盖点:设Vi是图G的一个顶点,假设Vi 不与随意一条属于匹配M的边相关联,就称Vi 是一个未盖点。交错路... 阅读全文
posted @ 2014-06-08 16:48 hrhguanli 阅读(232) 评论(0) 推荐(0) 编辑
摘要: Web Service 一些对外公开的网络服务接口2011-10-29 14:12商业和贸易:1、股票行情数据 WEB 服务(支持香港、深圳、上海基金、债券和股票;支持多股票同一时候查询)Endpoint:http://webservice.webxml.com.cn/WebServices/Sto... 阅读全文
posted @ 2014-06-08 16:11 hrhguanli 阅读(132) 评论(0) 推荐(0) 编辑
摘要: 【题目】题目详情高斯在上小学时发明了等差数列求和公式:1+2+..+100=5050。如今问题在于给你一个正整数n,问你他能够表示为多少种连续正整数之和?(自身也算)。输入格式:多组数据,每组数据一行,一个正整数n。 0#include using namespace std;int main(){... 阅读全文
posted @ 2014-06-08 14:42 hrhguanli 阅读(943) 评论(0) 推荐(0) 编辑
摘要: 1) { string after = field.Substring(1); result = first + after; } return result; ... 阅读全文
posted @ 2014-06-08 13:47 hrhguanli 阅读(297) 评论(0) 推荐(0) 编辑
摘要: zTree实现地市县三级级联报错(三)1、详细报错例如以下usage: java org.apache.catalina.startup.Catalina [ -config {pathname} ] [ -nonaming ] { -help | start | stop }2014-5-11 ... 阅读全文
posted @ 2014-06-08 12:14 hrhguanli 阅读(323) 评论(0) 推荐(0) 编辑
摘要: AlphaBlend实现透明效果,只是仅仅能针对某块区域进行alpha操作,透明度可设。TransparentBlt能够针对某种颜色进行透明,只是透明度不可设。AlphaBlend:BLENDFUNCTION bn;bn.AlphaFormat = 0;bn.BlendFlags = 0;bn.Bl... 阅读全文
posted @ 2014-06-08 11:44 hrhguanli 阅读(246) 评论(0) 推荐(0) 编辑
摘要: 參考文章:star特530的CSDN博客:http://blog.csdn.net/star530/article/details/18325493https://github.com/chukong/cocos-docs/blob/master/manual/framework/native/v3... 阅读全文
posted @ 2014-06-08 10:37 hrhguanli 阅读(271) 评论(0) 推荐(0) 编辑
摘要: run{allocate channel d1 type disk;allocate channel d2 type disk;allocate channel d3 type disk;allocate channel d4 type disk;allocate channel d5 type... 阅读全文
posted @ 2014-06-08 09:07 hrhguanli 阅读(662) 评论(0) 推荐(0) 编辑