04 2015 档案

摘要:1. 配置引擎根目录支持C/C++->常规->附加包含目录->增加->$(EngineRoot)2. 引入头文件#include "cocos-ext.h"using namespace cocos2d::extension;3. 测试代码:bool HelloWorld::init(){ i... 阅读全文
posted @ 2015-04-28 20:49 Master HaKu 阅读(796) 评论(0) 推荐(0) 编辑
摘要:1. 官网下载最新的Boost库,我的是1.552.在使用vs2013编译boost-1.55.0之前,先要给boost做下修改:boost_1_55_0\boost\intrusive\detail\has_member_function_callable_with.hpp line:222tem... 阅读全文
posted @ 2015-04-27 20:15 Master HaKu 阅读(1340) 评论(0) 推荐(0) 编辑
摘要:IntSLList.h//************************ intSLList.h **************************// singly-linked list class to store integers#ifndef INT_LINKE... 阅读全文
posted @ 2015-04-27 18:32 Master HaKu 阅读(821) 评论(0) 推荐(0) 编辑
摘要:菜单都以MenuItem开头MenuItemLabel - 文本菜单项MenuItemImage - 图片菜单项// on "init" you need to initialize your instancebool HelloWorld::init(){ if (!Layer::init(... 阅读全文
posted @ 2015-04-27 10:57 Master HaKu 阅读(749) 评论(0) 推荐(0) 编辑
摘要:1. ViewsA view (an object whose class is UIView or a subclass of UIView) knows how to draw itself into a rectangular area of the interface.Your app ha... 阅读全文
posted @ 2015-04-24 09:44 Master HaKu 阅读(952) 评论(0) 推荐(0) 编辑
摘要:1. 首先,要编写windows下socket程序,必须要加入Winsock支持2. 服务端监听程序(Server.cpp)#include //包含头文件#include#include#pragma comment(lib,"WS2_32.lib")... 阅读全文
posted @ 2015-04-21 13:43 Master HaKu 阅读(330) 评论(0) 推荐(0) 编辑
摘要:看看下面的程序有什么问题:BNRItem.h@interface BNRItem : NSObject@property (nonatomic, strong) BNRItem *containedItem;@property (nonatomic, strong) BNRItem *contain... 阅读全文
posted @ 2015-04-17 16:39 Master HaKu 阅读(327) 评论(0) 推荐(0) 编辑
摘要:如题 解决方案如下: 1.先把eclipse关闭.2.在管理器转到你的android SDK 的platform-tools下3.键入adb kill-server ,如果adb关闭了会提示 server not running * 4.再输入 adb start-server 如果不成功会提示 d 阅读全文
posted @ 2015-04-03 17:34 Master HaKu 阅读(303) 评论(0) 推荐(0) 编辑
摘要:如题解决:引入NDK对应的arm或者x86库如果你用的是GinyMotion模拟器,那就引入x86库不多说了,见截图1.选择Propertities->C/C++ General->Paths and Symbols2. 添加include文件夹路径 阅读全文
posted @ 2015-04-03 17:31 Master HaKu 阅读(532) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示