c++字符串反转
来源:互联网 发布:常用数据统计的软件是 编辑:程序博客网 时间:2024/06/10 01:08
int main( void )
{
char str[]= "http://www.ok2002.com c++ programe";
char a;
int i,j;
for (i=0,j=strlen(str)-1;i<j;i++,j--)
{
a=str[i];
str[i]=str[j];
str[j]=a;
}
for (i=0;i<strlen(str);i++)
{
cout<<str[i]<<endl;
{
char str[]= "http://www.ok2002.com c++ programe";
char a;
int i,j;
for (i=0,j=strlen(str)-1;i<j;i++,j--)
{
a=str[i];
str[i]=str[j];
str[j]=a;
}
for (i=0;i<strlen(str);i++)
{
cout<<str[i]<<endl;
}
}
- 字符串反转(C/C++)
- 反转字符串----(c#)
- C字符串反转算法
- (C#)字符串反转
- C语言字符串反转
- 字符串反转reverse.c
- C 字符串反转
- 字符串反转(C语言)
- C语言字符串反转
- C语言字符串反转
- C字符串操作:字符串反转
- C语言字符串反转函数
- C语言程序设计字符串内容反转
- C语言字符串反转函数
- C语言字符串反转函数
- C语言字符串反转函数
- C语言字符串反转函数
- 字符串反转函数,C 语言。
- Linux--Shell 编程-bash,命令替换,if分支嵌套,运算,输入输出
- 学习OpenCV——SVM 手写数字检测
- 如何修复未格式化的坏块?
- 文章3:libcurl基本编程概述
- 学习OpenCV——行人识别&人脸识别
- c++字符串反转
- 文章4:multipart/form-data详细介绍
- 和十期一起装系统
- 串行接口(交叉线和直连线的区别)
- 考进中科院计算所:我的经历和体会
- 学习OpenCV——车牌检测(定位)
- UML学习(一)
- Mshflexgrid控件填写数据时的添加方式的改变,加快数据读取速度.
- vijos 1049 送给圣诞夜的礼品