C++入门经典-例6.20-修改string字符串的单个字符

C++入门经典-例6.20-修改string字符串的单个字符 1:使用+可以将两个string 字符串连接起来。同时,string还支持标准输入输出函数。代码如下: // 6.20.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include <iostream> #include <string> using namespace std; int m
相关文章
相关标签/搜索