Archive for 二月, 2014

排列算法 C++实现

排列的任务是确定n个不同的元素的排序的可能性。如何在计算机中用C++实现呢?

This application failed to start because it could not find or load the Qt platform plugin “windows”

This application failed to start because it could not find or load the Qt platform plugin “windows”

贪吃蛇 AI 的实现 snake AI

一张微博上的贪吃蛇吃满整个游戏区域的图片是怎么实现的呢?我们来动手试试。顺便学习下cocos2d html5

Reverse Integer 反转一个int数

怎样反转一个数呢? 比如把123 转成321

ImageFun 使JPG的缩略图跟原图不一样 (刷微博必备)

微博上见到很多这样的游戏,看到是一张图片,点开后就变成了另外一张图片,这是怎样实现的呢?