锘??xml version="1.0" encoding="utf-8" standalone="yes"?>久久久无码精品亚洲日韩软件,久久久黄色大片,久久AV高清无码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.effiliates.cn" target="_blank">久久婷婷激情综合色综合俺也去</a>| <a href="http://www.4060262.cn" target="_blank">久久福利片</a>| <a href="http://www.greektaverna.cn" target="_blank">精品久久久久久国产</a>| <a href="http://www.huanpou.cn" target="_blank">精品永久久福利一区二区</a>| <a href="http://www.xcvcd.cn" target="_blank">久久亚洲高清观看</a>| <a href="http://www.zhchengzhi.cn" target="_blank">热综合一本伊人久久精品</a>| <a href="http://www.fttyz.com.cn" target="_blank">亚洲乱码精品久久久久..</a>| <a href="http://www.esfjjr.cn" target="_blank">精品无码久久久久久国产</a>| <a href="http://www.5ihubei.cn" target="_blank">国内精品久久久久影院薰衣草</a>| <a href="http://www.t55n3z.cn" target="_blank">2021久久国自产拍精品</a>| <a href="http://www.lntyzx.com.cn" target="_blank">久久午夜综合久久</a>| <a href="http://www.binzhun.cn" target="_blank">国产成人综合久久综合</a>| <a href="http://www.aylzys.cn" target="_blank">国产香蕉久久精品综合网</a>| <a href="http://www.m2fz.cn" target="_blank">办公室久久精品</a>| <a href="http://www.jnxfhb.cn" target="_blank">国产午夜福利精品久久2021 </a>| <a href="http://www.ed34.cn" target="_blank">免费观看成人久久网免费观看</a>| <a href="http://www.yssmtm.cn" target="_blank">久久亚洲AV无码西西人体</a>| <a href="http://www.duxj.cn" target="_blank">狠狠色丁香婷婷久久综合不卡</a>| <a href="http://www.b2721.cn" target="_blank">无码人妻少妇久久中文字幕</a>| <a href="http://www.baomintv.cn" target="_blank">久久久青草青青亚洲国产免观</a>| <a href="http://www.wubaili.com.cn" target="_blank">午夜精品久久久久久影视riav</a>| <a href="http://www.vcexpress.cn" target="_blank">国产欧美久久久精品</a>| <a href="http://www.ekqt.cn" target="_blank">国产精品久久久久AV福利动漫</a>| <a href="http://www.10711.com.cn" target="_blank">午夜视频久久久久一区</a>| <a href="http://www.n29306.cn" target="_blank">久久亚洲综合色一区二区三区</a>| <a href="http://www.e510.com.cn" target="_blank">精品永久久福利一区二区</a>| <a href="http://www.dgabs.cn" target="_blank">色狠狠久久AV五月综合</a>| <a href="http://www.liuzirui597.cn" target="_blank">国产欧美久久久精品影院</a>| <a href="http://www.xiguayo.cn" target="_blank">伊人久久大香线蕉综合热线</a>| <a href="http://www.ewoman.com.cn" target="_blank">久久精品无码免费不卡</a>| <a href="http://www.mdwmp.com.cn" target="_blank">国产精自产拍久久久久久蜜 </a>| <a href="http://www.hg795.cn" target="_blank">色老头网站久久网</a>| <a href="http://www.9978217.cn" target="_blank">久久国产成人</a>| <a href="http://www.animin.cn" target="_blank">四虎国产精品成人免费久久</a>| <a href="http://www.javareport.cn" target="_blank">91精品婷婷国产综合久久</a>| <a href="http://www.xinashop.cn" target="_blank">久久久综合九色合综国产</a>| <a href="http://www.08fq.cn" target="_blank">国产精品久久久天天影视</a>| <a href="http://www.hzlike.cn" target="_blank">久久综合丝袜日本网</a>| <a href="http://www.phb321.cn" target="_blank">香蕉久久夜色精品国产小说</a>| <a href="http://www.fmzz6688.cn" target="_blank">91精品国产综合久久四虎久久无码一级</a>| <a href="http://www.vhro.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>