04 2012 档案

摘要://ccTouchBegan必须实现,否则会报错bool PicScan::ccTouchBegan(CCTouch* pTouch, CCEvent* event){ return true;}void PicScan::ccTouchMoved(CCTouch *touch, CCEvent *event){ //获得触摸点初始坐标 CCPoint beginLoc = touch->locationInView(touch->view()); beginLoc = CCDirector::sharedDirector()->convertToGL(beginLoc); 阅读全文
posted @ 2012-04-28 20:07 fjut 阅读(3102) 评论(0) 推荐(0)
摘要:在代理函数 bool AppDelegate::applicationDidFinishLaunching() 里开头添加以下代码: _tsetlocale(LC_ALL,_T("")); ::AllocConsole(); ::freopen("conout$","w",stdout); 别忘了加头文件 #include <tchar.h>然后你就可以使用printf啦,哇咔咔。 阅读全文
posted @ 2012-04-28 19:38 fjut 阅读(3612) 评论(2) 推荐(0)

------------------->>>>      听首歌放松下 O(∩_∩)O~~