wyhuang---------至精至简,大道不惑

导航

2014年4月27日 #

玩转cocos2d-x

摘要: http://www.360doc.com/userhome/9430500# 阅读全文

posted @ 2014-04-27 15:38 wyhuang 阅读(110) 评论(0) 推荐(0)

逆序输出一句话

摘要: 对一句话里面的单词进行reverse,标点符号位置不变。符号包括:,.!? 例:输入:Hello, my dear friend! 输出:olleH, ym raed dneirf! 思路:由于需要逆序输出,因此想到利用栈数据结构来实现。代码如下(调试环境:VS2013): 阅读全文

posted @ 2014-04-27 15:20 wyhuang 阅读(220) 评论(0) 推荐(0)