摘要:
1. C++中string类的练习,使用的数据结构慢慢地开始有心得了;2. string类中的+=操作符和append( )函数的使用;3. 这道题很简单,开始出错是因为string类型的变量没有初始化。string str = "";//初始化为空字符串;4. 推荐一个c++的网站(cplusplus.com - The C++ Resources Network)。#include #include #include using namespace std;
struct type
{ string str; char let; int len;
}ltr[3... 阅读全文
posted @ 2012-03-26 22:30
赵乐ACM
阅读(218)
评论(0)
推荐(0)