1.
多彩的幕布(CCLayerColor)
ColorLayer.h
#ifndef
_COLORLAYER_H_
#define
_COLORLAYER_H_
#include
"cocos2d.h"
USING_NS_CC;
//多彩的幕布layer,这时候要使...
分类:
其他好文 时间:
2014-10-20 23:26:46
阅读次数:
212
1.if you declare a method to be static in your .cc file.The reason is thatstaticmeans something different inside .cc files than in class declarations ...
分类:
其他好文 时间:
2014-10-20 19:24:37
阅读次数:
223
上一篇一步一步写一个简单通用的makefile(二)里面的makefile 实现对通用的代码进行编译,这一章我将会对上一次的makefile 进行进一步的优化.优化后的makefile:#Hellomake#Magnum, 2014-10-20# 指令编译器和选项CC=gccCFLAGS=-Wall...
分类:
其他好文 时间:
2014-10-20 19:21:37
阅读次数:
250
./ 表示当前层../表示向上一层php中好像不能像asp那样,用 “/” 表示根目录,但可以用$_SERVER['DOCUMENT_ROOT'] 表示网站根目录引用分为三种: 上级对下级的引用(上级引用) 1.从属上级引用 (cc.php对dd.php的引用 同属于cc目录) re...
分类:
Web程序 时间:
2014-10-20 19:13:52
阅读次数:
155
价格战真不是个好东西!当域名注册商遇上价格战,消费者也是看醉了。 上半年有商家打出8元注册,甚至是1元注册的噱头,小编今日特意查看了各大网站,整个人都不好了。.cn英文域名,花生壳直接降到首年12元;最火的.cc域名,新网从首年400元降到28元,而花生壳最低25元。 4年才能收...
分类:
其他好文 时间:
2014-10-20 13:04:18
阅读次数:
138
转载自:http://stackoverflow.com/questions/9192309/the-main-difference-between-java-cC++ supports pointers whereas Java does not pointers. But when many ....
分类:
编程语言 时间:
2014-10-20 13:01:17
阅读次数:
164
??
1
编写MyLayer
头文件:MyLayer.h
#include
"cocos2d.h"
USING_NS_CC;
//代表的是: using namespace cocos2d
(通过F12进行查看)
//继承CCLayer
class
MyLayer :public...
分类:
其他好文 时间:
2014-10-20 00:52:15
阅读次数:
235
(define (fact n) (let ((r 1) (k 'void)) (call/cc (lambda (c) (set! k c))) (set! r (* r n)) (set! n (- n 1)) (if (= n 1) r (k 'recurse)))...
分类:
其他好文 时间:
2014-10-19 21:15:46
阅读次数:
199