摘要: 用cocos2d-x获取系统时间,格式为年月日时分秒:void GetTime(float dt) { struct tm *tm;#if (CC_TARGET_PLATFORM == CC_PLATFORM_WIN32) //win32平台 time_t timep; ... 阅读全文
posted @ 2014-07-22 20:38 滴水瓦 阅读(805) 评论(0) 推荐(0) 编辑