锘??xml version="1.0" encoding="utf-8" standalone="yes"?>久久久久免费视频,精品久久久无码中文字幕天天,亚洲精品视频久久久http://www.shnenglu.com/tongy0/category/21009.htmlNo sub titlezh-cnThu, 13 Nov 2014 02:49:27 GMTThu, 13 Nov 2014 02:49:27 GMT60鎵嬫満娓告垙寮鍙戜箣鎵揕og鏃ュ織http://www.shnenglu.com/Tongy0/archive/2014/11/13/208865.htmlJacc.KimJacc.KimThu, 13 Nov 2014 02:43:00 GMThttp://www.shnenglu.com/Tongy0/archive/2014/11/13/208865.htmlhttp://www.shnenglu.com/Tongy0/comments/208865.htmlhttp://www.shnenglu.com/Tongy0/archive/2014/11/13/208865.html#Feedback0http://www.shnenglu.com/Tongy0/comments/commentRss/208865.htmlhttp://www.shnenglu.com/Tongy0/services/trackbacks/208865.html 1 void CLogService::kkLog2(const char* pszName, const char* fmt, ) {
 2     cocos2d::CCFileUtils *pCCFileUtils = cocos2d::CCFileUtils::sharedFileUtils();
 3 #if defined(WIN32) || defined(_WIN32)
 4     SSString path = getExePath().c_str();
 5     path += "log/";
 6 #elif defined(IOS) || defined(__APPLE__)
 7     SSString path = pCCFileUtils->getWritablePath();
 8     path += "log/";
 9 #else
10     SSString path = "/mnt/sdcard/external-sd/";
11 #endif
12 
13     SSString filename = path + pszName;
14 
15     va_list ap;
16     va_start(ap, fmt);
17     char buf[1024];
18     vsprintf(buf, fmt, ap);
19     va_end(ap);
20 
21     std::string strTime;
22     ___getTime(strTime);
23     strTime += "    ";
24 
25 #if defined(_WIN32) || defined(WIN32)
26     std::string strLogText = strTime + buf + "\r\n";
27     ::OutputDebugStringA((LPCSTR)strLogText.c_str());
28 #endif
29 
30     // ensure the path is exist
31     _create_dir(path.c_str());
32 
33     FILE *fp = fopen(filename.c_str(), "ab+");
34     if(fp) {
35         fwrite(strTime.c_str(), strTime.length(), 1, fp);
36         fwrite(buf, strlen(buf), 1, fp);
37         fputs("\r\n", fp);
38         fclose(fp);
39     }
40 }

Jacc.Kim 2014-11-13 10:43 鍙戣〃璇勮
]]>
鎵嬫満涓殑鍙鍐欒礬寰?/title><link>http://www.shnenglu.com/Tongy0/archive/2014/11/13/208864.html</link><dc:creator>Jacc.Kim</dc:creator><author>Jacc.Kim</author><pubDate>Thu, 13 Nov 2014 02:42:00 GMT</pubDate><guid>http://www.shnenglu.com/Tongy0/archive/2014/11/13/208864.html</guid><wfw:comment>http://www.shnenglu.com/Tongy0/comments/208864.html</wfw:comment><comments>http://www.shnenglu.com/Tongy0/archive/2014/11/13/208864.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/Tongy0/comments/commentRss/208864.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/Tongy0/services/trackbacks/208864.html</trackback:ping><description><![CDATA[<div> <div style="border-bottom: #cccccc 1px solid; border-left: #cccccc 1px solid; padding-bottom: 4px; background-color: #eeeeee; padding-left: 4px; width: 98%; padding-right: 5px; font-size: 13px; word-break: break-all; border-top: #cccccc 1px solid; border-right: #cccccc 1px solid; padding-top: 4px"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--><span style="color: #008080"> 1</span> <span style="color: #0000ff">void</span><span style="color: #000000"> CShopData::generateWebDataSaveFileName(std::</span><span style="color: #0000ff">string</span><span style="color: #000000"> </span><span style="color: #000000">&</span><span style="color: #000000">strFileName) {<br /></span><span style="color: #008080"> 2</span> <span style="color: #000000"><br /></span><span style="color: #008080"> 3</span> <span style="color: #000000">    CCFileUtils </span><span style="color: #000000">*</span><span style="color: #000000">pCCFileUtils </span><span style="color: #000000">=</span><span style="color: #000000"> CCFileUtils::sharedFileUtils();<br /></span><span style="color: #008080"> 4</span> <span style="color: #000000"></span><span style="color: #0000ff">#if</span><span style="color: #000000"> defined(WIN32) || defined(_WIN32)</span><span style="color: #000000"><br /></span><span style="color: #008080"> 5</span> <span style="color: #000000">    SSString path </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #000000">""</span><span style="color: #000000">;<br /></span><span style="color: #008080"> 6</span> <span style="color: #000000"></span><span style="color: #0000ff">#elif</span><span style="color: #000000"> defined(IOS) || defined(__APPLE__)</span><span style="color: #000000"><br /></span><span style="color: #008080"> 7</span> <span style="color: #000000">    SSString path </span><span style="color: #000000">=</span><span style="color: #000000"> pCCFileUtils</span><span style="color: #000000">-></span><span style="color: #000000">getWritablePath();<br /></span><span style="color: #008080"> 8</span> <span style="color: #000000">    </span><span style="color: #008000">//</span><span style="color: #008000">path += "log/";</span><span style="color: #008000"><br /></span><span style="color: #008080"> 9</span> <span style="color: #008000"></span><span style="color: #0000ff">#else</span><span style="color: #000000"><br /></span><span style="color: #008080">10</span> <span style="color: #000000">    SSString path </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #000000">"</span><span style="color: #000000">/mnt/sdcard/external-sd/</span><span style="color: #000000">"</span><span style="color: #000000">;<br /></span><span style="color: #008080">11</span> <span style="color: #000000"></span><span style="color: #0000ff">#endif</span><span style="color: #000000"><br /></span><span style="color: #008080">12</span> <span style="color: #000000"><br /></span><span style="color: #008080">13</span> <span style="color: #000000">    strFileName </span><span style="color: #000000">=</span><span style="color: #000000"> path.c_str();<br /></span><span style="color: #008080">14</span> <span style="color: #000000">    strFileName </span><span style="color: #000000">+=</span><span style="color: #000000"> g_pcszWebDataSaveFile;<br /></span><span style="color: #008080">15</span> <span style="color: #000000"><br /></span><span style="color: #008080">16</span> <span style="color: #000000">    CWebUrlConfig </span><span style="color: #000000">*</span><span style="color: #000000">pUrlCfg </span><span style="color: #000000">=</span><span style="color: #000000"> CWebUrlConfigInstance::singleton();<br /></span><span style="color: #008080">17</span> <span style="color: #000000">    std::</span><span style="color: #0000ff">string</span><span style="color: #000000"> strGameId </span><span style="color: #000000">=</span><span style="color: #000000"> pUrlCfg</span><span style="color: #000000">-></span><span style="color: #000000">getWebUrlAddress(</span><span style="color: #000000">"</span><span style="color: #000000">gameid</span><span style="color: #000000">"</span><span style="color: #000000">);<br /></span><span style="color: #008080">18</span> <span style="color: #000000">    strFileName </span><span style="color: #000000">=</span><span style="color: #000000"> strFileName </span><span style="color: #000000">+</span><span style="color: #000000"> strGameId </span><span style="color: #000000">+</span><span style="color: #000000"> </span><span style="color: #000000">"</span><span style="color: #000000">.json</span><span style="color: #000000">"</span><span style="color: #000000">;<br /></span><span style="color: #008080">19</span> <span style="color: #000000"><br /></span><span style="color: #008080">20</span> <span style="color: #000000"><br /></span><span style="color: #008080">21</span> <span style="color: #000000"></span><span style="color: #008000">//</span><span style="color: #008000">     strFileName = g_pcszWebDataSaveFile;<br /></span><span style="color: #008080">22</span> <span style="color: #008000"></span><span style="color: #008000">//</span><span style="color: #008000">     CWebUrlConfig *pUrlCfg = CWebUrlConfigInstance::singleton();<br /></span><span style="color: #008080">23</span> <span style="color: #008000"></span><span style="color: #008000">//</span><span style="color: #008000">     std::string strGameId = pUrlCfg->getWebUrlAddress("gameid");<br /></span><span style="color: #008080">24</span> <span style="color: #008000"></span><span style="color: #008000">//</span><span style="color: #008000">     strFileName = strFileName + strGameId + ".json";</span><span style="color: #008000"><br /></span><span style="color: #008080">25</span> <span style="color: #008000"></span><span style="color: #000000">}</span></div></div><img src ="http://www.shnenglu.com/Tongy0/aggbug/208864.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/Tongy0/" target="_blank">Jacc.Kim</a> 2014-11-13 10:42 <a href="http://www.shnenglu.com/Tongy0/archive/2014/11/13/208864.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item></channel></rss> <footer> <div class="friendship-link"> <p>感谢您访问我们的网站,您可能还对以下资源感兴趣:</p> <a href="http://www.shnenglu.com/" title="精品视频久久久久">精品视频久久久久</a> <div class="friend-links"> </div> </div> </footer> <a href="http://www.91zuoai.cn" target="_blank">久久综合成人网</a>| <a href="http://www.huiju365.cn" target="_blank">韩国免费A级毛片久久</a>| <a href="http://www.nlzm.net.cn" target="_blank">激情五月综合综合久久69</a>| <a href="http://www.tjppfdm.cn" target="_blank">国产精品99久久久久久宅男</a>| <a href="http://www.ccbaocheng.cn" target="_blank">久久97久久97精品免视看</a>| <a href="http://www.electricbed.cn" target="_blank">久久精品国产亚洲av瑜伽</a>| <a href="http://www.qdog.com.cn" target="_blank">老男人久久青草av高清</a>| <a href="http://www.suzhougarden.cn" target="_blank">午夜久久久久久禁播电影</a>| <a href="http://www.szebase.com.cn" target="_blank">69久久夜色精品国产69</a>| <a href="http://www.eksn.cn" target="_blank">久久无码一区二区三区少妇</a>| <a href="http://www.lslscy.cn" target="_blank">亚洲乱码精品久久久久..</a>| <a href="http://www.wthangjia.cn" target="_blank">色偷偷888欧美精品久久久</a>| <a href="http://www.weipengdq.cn" target="_blank">无码8090精品久久一区</a>| <a href="http://www.sfsqw.cn" target="_blank">久久香蕉一级毛片</a>| <a href="http://www.sh-yd.com.cn" target="_blank">日产精品久久久久久久</a>| <a href="http://www.zhaopf.com.cn" target="_blank">久久九九亚洲精品</a>| <a href="http://www.238000.com.cn" target="_blank">久久精品久久久久观看99水蜜桃</a>| <a href="http://www.e-meng.com.cn" target="_blank">久久r热这里有精品视频</a>| <a href="http://www.zl6688.com.cn" target="_blank">久久中文字幕精品</a>| <a href="http://www.hantong168.com.cn" target="_blank">久久亚洲高清观看</a>| <a href="http://www.smtch.cn" target="_blank">国产精品禁18久久久夂久</a>| <a href="http://www.hardwareman.cn" target="_blank">中文字幕无码久久久</a>| <a href="http://www.gsatyfhg.cn" target="_blank">欧美久久综合性欧美</a>| <a href="http://www.033009.cn" target="_blank">久久精品人人做人人妻人人玩 </a>| <a href="http://www.z2023.cn" target="_blank">国内精品久久久久久中文字幕</a>| <a href="http://www.lismi.cn" target="_blank">久久人人爽人人爽人人片av麻烦</a>| <a href="http://www.fengbiaochem.com.cn" target="_blank">精品久久香蕉国产线看观看亚洲</a>| <a href="http://www.kouziye.cn" target="_blank">久久久一本精品99久久精品88</a>| <a href="http://www.hygaiye.cn" target="_blank">久久精品国产精品亚洲艾草网美妙 </a>| <a href="http://www.iyuhu.cn" target="_blank">久久中文字幕人妻熟av女</a>| <a href="http://www.gdguangjie.cn" target="_blank">国产精品久久久久a影院</a>| <a href="http://www.zfam.cn" target="_blank">国产精品亚洲美女久久久</a>| <a href="http://www.qtvc.cn" target="_blank">久久香蕉国产线看观看99</a>| <a href="http://www.yrjiameng.cn" target="_blank">国产精品99久久99久久久</a>| <a href="http://www.reboc.cn" target="_blank">久久亚洲精品人成综合网</a>| <a href="http://www.electricbed.cn" target="_blank">狠狠色婷婷久久一区二区</a>| <a href="http://www.1122sw.cn" target="_blank">久久久精品国产免大香伊</a>| <a href="http://www.bxxlsl.cn" target="_blank">亚洲精品无码久久千人斩</a>| <a href="http://www.cpfang.cn" target="_blank">亚洲第一极品精品无码久久</a>| <a href="http://www.cnbjwm.com.cn" target="_blank">国产成年无码久久久免费</a>| <a href="http://www.kimhi.cn" target="_blank">国产精品久久婷婷六月丁香</a>| <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body>