Android下JNI使用stringstream

来源:互联网 发布:爱娱网络 狂龙 编辑:程序博客网 时间:2024/06/15 18:16
#include <iosfwd>bool DrawClock(WORD wViewChairID, WORD wTimer){std::ostringstream sstr;sstr << wTimer;m_pClock->setString(sstr.str().c_str());//  2013-5-23 下午8:23:13m_pClock->setVisible(true);//  2013-5-23 下午8:49:41return true;}


COCOS2D-X

stringstream是不存在的只有ostringstream可用。

原创粉丝点击