发布Cocos2d-x的PC端程序一、创建一个Release的项目1、利用根目录下的解决方案生成Release.win32文件夹2、新建一个cocos2d项目(比如解决方案名称MySolution,名称MyHelloWorld)二、发布项目1、得到运行所需文件2、打包成exe文件配置:win7+Co...
分类:
其他好文 时间:
2014-07-18 22:13:43
阅读次数:
839
/** \brief poj 1502--Dijkstra
*
* \ date 2014/7/15
* \ state AC
* *
*/
#include
#include
#include
#include
using namespace std;
#define inf 0x03f3f3f3f
const int MAXN=101;
int n;
int co...
分类:
其他好文 时间:
2014-07-18 21:22:31
阅读次数:
192
Sending images can be done using theHttpComponents libraries. Download the latest HttpClient (currently4.0.1) binary with dependencies package and co....
分类:
移动开发 时间:
2014-07-18 19:17:57
阅读次数:
227
首先,下载svn
wgethttp://pecl.php.net/get/svn-1.0.1.tgz
shell> tar -zxf svn-1.0.1.tgz
shell> cd svn-1.0.1
shell> /usr/local/php/bin/phpize
shell> ./configure--with-php-config=/usr/local/php/bin/php-co...
分类:
Web程序 时间:
2014-07-18 12:30:27
阅读次数:
695
#!/bin/sh
#
# iptables Start iptables firewall
#
# chkconfig: 2345 08 92
# description: Starts, stops and saves iptables firewall
#
# config: /etc/sysconfig/iptables
# co...
分类:
其他好文 时间:
2014-07-18 12:23:55
阅读次数:
354
1、"std::ios_base::Init::~Init()", referenced from答1: 如果出现这样的编译问题,是需要再加进libstdc++.dylib和libstdc++.6.dylib(为6.1使用)2、apple Mach-o Linker error答2: 通常是因为co...
分类:
移动开发 时间:
2014-07-16 19:14:54
阅读次数:
222
http://boagworld.com/dev/why-you-should-care-about-css-page-performance/ http://css-tricks.com/efficiently-rendering-css/ https://developers.google.co...
分类:
Web程序 时间:
2014-07-16 18:23:06
阅读次数:
389
string 是c++标准库里面其中一个,封装了对字符串的操作把string转换为char* 有3中方法:1.data如:string str="abc";char *p=str.data();2.c_str如:string str="gdfd"; char *p=str.c_str();3. co...
分类:
其他好文 时间:
2014-07-16 18:13:38
阅读次数:
195
原文出处:http://blogs.microsoft.co.il/blogs/arik/archive/2010/07/12/step-into-net-framework-4-0-source-code.aspx本文将向你展示如何配置Visual Studio 2010逐语句执行.NET Fra...
分类:
Web程序 时间:
2014-07-16 16:53:04
阅读次数:
371
数据库连接1、在文件App.config内添加连接 1 2 3 4 5 8 9 12 2、添加 dll 引用3、获取数据库连接字符串string conStr = System.Configuration.ConfigurationManager.Co...
分类:
数据库 时间:
2014-07-16 13:41:47
阅读次数:
245