摘要: C/C++要借助timeval,cocos2dx下试用有效[cpp]view plaincopylonggetCurrentTime(){structtimevaltv;gettimeofday(&tv,NULL);returntv.tv_sec*1000+tv.tv_usec/1000;} 阅读全文
posted @ 2014-12-31 11:48 Moonglow 阅读(3104) 评论(0) 推荐(0) 编辑