2013年11月26日

摘要: c++操作falsh,忘了原文在哪了,自己尝试了,直接贴代码 1 // SDK版本 2 //////////////////////////////////////////////////////////////////////////////// 3 // Use swflash.ocx to play flash 4 // if it works, it is written by masterz, otherwise I don't know who writes it(*_*) 5 ////////////////////////////////////... 阅读全文
posted @ 2013-11-26 22:01 marcher 阅读(389) 评论(0) 推荐(0) 编辑
摘要: lua对象json序列化,很简单,没做中文的unicode编码了local function bool2json(v) return v and "true" or "false";endlocal function string2json(s) return table.concat({"\"", s, "\""});endlocal allowedkey={ ["boolean"]=true, ["number"]=true, ["table 阅读全文
posted @ 2013-11-26 21:56 marcher 阅读(511) 评论(0) 推荐(0) 编辑
摘要: json标准:http://www.json.org/json-zh.html 阅读全文
posted @ 2013-11-26 17:44 marcher 阅读(83) 评论(0) 推荐(0) 编辑

导航