会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
闲来敲敲代码......
Click me!
有容乃大:好读书不求甚解
博客园
首页
新随笔
联系
管理
订阅
2014年10月7日
字符串反转----将this is good 转化为good is this 输出。
摘要: 思路:现将整个字符串反转,再将每个单词反转;#include "iostream"#include "cstring"using namespace std;void reverse_word(char*p,char*q){ char temp; while(q>p){ t...
阅读全文
posted @ 2014-10-07 10:16 森语音
阅读(284)
评论(0)
推荐(0)
编辑