今天在quick-cocos2d-x生成的sln,需要添加一个新的自己的lib,以前就是直接把.h和.cc文件直接添加过去(为了省事呗),今天时间宽裕索性还是新建一个vcxproj吧,然后用静态lib调用的方式。一切按照既定的方式进行着,但是新生成的vcxproj不知道为什么没有$(Engine.....
分类:
其他好文 时间:
2014-11-04 14:48:57
阅读次数:
155
遇到问题:http://www.cocoachina.com/ask/questions/show/107029之前都登录都很正常,这两天突然出现这个问题,没有安装qq软件的iphone手机上登录的时候会提示"您没有安装QQ软件,请先下载并安装,登录更快更安全"这不合理啊,为什么我非要装qq软件才能...
分类:
移动开发 时间:
2014-11-04 12:59:38
阅读次数:
197
问题描述:
Implement atoi to convert a string to an integer.
Hint: Carefully consider all possible input cases. If you want a challenge, please do not see below and ask yourself what are the possible i...
分类:
其他好文 时间:
2014-11-02 21:04:25
阅读次数:
140
英文原文:10 Questions web developers must ask themselves every day 你想成为一名web开发者吗? 那么,现在是时候放下《24小时学会超级骗子语言v8.3》书,相反,你应当养成每天反问自己以下10个问题的习惯。1、是否有一种模式存在? 找...
分类:
其他好文 时间:
2014-10-29 18:41:35
阅读次数:
107
??
1
缓冲动作
man->setScale(0.8f);
woman->setScale(0.8f);
man->setPosition(ccp(100, 80));
woman->setPosition(ccp(100,240));
CCMoveTo * manTo = CC...
分类:
其他好文 时间:
2014-10-29 08:01:32
阅读次数:
322
1.命名规则1.起始位为字母(大小写)或下划线('_')2.其他部分为字母(大小写)、下划线('_')或数字(0-9)3.大小写敏感2.先体验一把:#Ask the user their namename = input("Enter your name: ")#Make the first let...
分类:
编程语言 时间:
2014-10-28 13:35:12
阅读次数:
258
使用DOM技术实现如下词典功能(1.查询:根据英文单词查中文意思;2.添加:添加英文和中文单词;3.删除:根据英文或中文单词删除中英文词意;4.修改:根据英文单词修改中文注释。)【代码如下:】1.【words.xml】 woman 女 ...
分类:
其他好文 时间:
2014-10-26 01:34:35
阅读次数:
204
别人提问的时候,有人很喜欢说 “Don't ask until you try”,可是不知道为什么,每次听到这句话,就会莫名地嗤笑出来。
说这句话的人对“ask” 和 “try” 的具体定义是什么?
“try”可以视为途径么?try google,try baidu,try book 是途径,那么 try you 算不算一种途径?
“ask” 可以视为提问么?ask you 是提问,...
分类:
其他好文 时间:
2014-10-23 14:28:58
阅读次数:
152
from sys import argvscript, user_name = argvprompt = '> 'print "Hi %s, I'm the %s script." % (user_name, script)print "I'd like to ask you a few quest...
分类:
其他好文 时间:
2014-10-23 13:58:52
阅读次数:
170
判断横竖屏。http://www.cocoachina.com/ask/questions/show/121301//self.cameraView是相机view - (NSUInteger)supportedInterfaceOrientations{ UIInterfaceOrientat...
分类:
移动开发 时间:
2014-10-23 12:13:03
阅读次数:
289