用cocos2d-android开发android游戏时调用box2d中的newWorld(Vector2,boolean)时,出现如下报错:“java.lang.UnsatisfiedLinkError:Nativemethodnotfound:com.badlogic.gdx.physics.box2d.World.newWorld:(FFZ)J”解决方法:在当前类中添加代码:static{
System.loadLibrary("g..
分类:
移动开发 时间:
2014-05-09 14:28:27
阅读次数:
404
《编程之道》出自美国一位资深的程序设计师 Geoffrey James
之手。相传作者早起打太极拳的时候,突然开悟,悟到了编程之道。本文章我自己整理的番外篇,哈哈哈,有点儿无节操。1.1程序员见禅师:我学了 hello world
和水仙花数,想自己开发个操作系统,希望大师指点。禅师笑而不语,抓来一...
分类:
其他好文 时间:
2014-05-09 10:13:22
阅读次数:
244
Map map = new
TreeMap();//TreeMap本身具有排序功能(默认按键升序排序)map.put(12, "hello");map.put(7,
"bravestarr");map.put(20, "world");System.out.println(map.toString(...
分类:
其他好文 时间:
2014-05-09 09:28:49
阅读次数:
282
刚在stackoverflow看到一道很不错的问题,遂拿来分享之。
题目要求:我有一个很长的字符串:
String s1="This is my world. This has to be broken."
我要把上面的字符串打乱以固定的长度(例如10)使得输出为:
This is my
world. Thi
s has to b
e broken.
但是...
分类:
其他好文 时间:
2014-05-09 02:41:46
阅读次数:
266
/*
* uva575
* Date:2014/5/7
* State: AC
*/
#include
#include
#include
#include
#include
using namespace std;
const int MAXN=34;
char Arr[MAXN];
int main()
{
//cout << "Hello world!" << end...
分类:
其他好文 时间:
2014-05-09 02:25:56
阅读次数:
269
1, Nginx 安装,http://nginx.org/en/download.html.下载解压,configure,make ,make install.安装过程中确实包,需要先下载安装依赖包2,安装lighttpd的spawn-fastcgi 下载http://www.lighttpd.net/download/lighttpd-1.4.19.tar.gz ./configuremake...
分类:
其他好文 时间:
2014-05-09 01:46:02
阅读次数:
358
/*
* uva10879
* Date:2014/5/7
* State:AC
*/
#include
#include
using namespace std;
int main()
{
//cout << "Hello world!" <>N;
...
分类:
其他好文 时间:
2014-05-09 00:30:58
阅读次数:
287
编程思想: 更改图片的路径信息 代码如下: 点击灯泡来点亮或熄灭这盏灯——Money
makes the world go around.
分类:
Web程序 时间:
2014-05-08 12:25:12
阅读次数:
1114
1 2 New Document 3 21 22 23 hello,world?!24 25
上面是自己写的一个,然后我从网上看到了一个写的不错的,可以看出是个对JavaScript了解的比较深入细致的一个人(http://www.cnblogs.com/kuikui/ar...
分类:
编程语言 时间:
2014-05-08 11:57:39
阅读次数:
442
IDisplayTransformationDeviceFrameVisible extent
in device coordinates.FittedBoundsDevice frame in world
coordinates.ResolutionResolution of the device...
分类:
其他好文 时间:
2014-05-08 09:27:11
阅读次数:
695