摘要:
come fromhttp://acoder.me/cocos2d-unresolved-external-symbol.html看到cocos2d-x带了扩展包,心动的想尝试下,以下分享下我使用过程中遇到的错误...工具使用的是Vs2012,工具版本不同功能很多不一样.全当参考。首先新建HelloWorld项目...想使用Cocos2d扩展包需要引入相关头文件,如:#include “cocos-ext.h”...接下来我们右键工程属性->配置属性->c/c++中的附加包含目录添加进扩展包路径,例如:Cocos2d根目录\extensions.如下图:在这个步骤就开始调试的话会抛 阅读全文
摘要:
Youcanuse Objective C inside the Windows environment. If you follow these steps, it should be working just fine:Visit theGNUstep websiteand downloadGNUstep MSYS Subsystem(MSYS for GNUstep),GNUstep Core(Libraries for GNUstep), andGNUstep DevelAfter downloading these files, install in that order, or y 阅读全文
摘要:
■ A class is a structure that represents an object’s type. An object refers to its class to get various information about itself, particularly what code to run to handle each action. Simple programs might have a handful of classes; moderately complex ones will have a couple of dozen. Objective- C .. 阅读全文
摘要:
因为公司需要,开始看object-c,虽然还没ios系统,但现学下语法。第一个例子不应该是helloWorld吗?但《Learn Objective-C on the Mac》书上不是。#import int main (int argc, const char *crgv[]){ NSLog(@"The number from 1 to 5"); int i; for(i = 1; i <= 5:i++){ NSLog(@"%d\n",i); } return (0);} 恩,没办法看结果,不过很简单。 阅读全文