码迷,mamicode.com
首页 > 编程语言 > 详细

C++中String的使用

时间:2015-04-09 19:02:54      阅读:152      评论:0      收藏:0      [点我收藏+]

标签:

header files:

#include <string>         // use String Object you should leading-in it (ps:not string.h,the string.h is belong to the C)
#include <iostream>     // the input and output of C++。
using namespace std;


the output and input of String should use the function cin and cout. (ps:cout not count).

Thanks for the XFreedom

http://www.cnblogs.com/xFreedom/archive/2011/05/16/2048037.html

C++中String的使用

标签:

原文地址:http://www.cnblogs.com/Milkor/p/4410226.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!