摘要: string str("hello world");string *pstr = &str;cout << pstr[0] << endl;cout << *pstr << endl;本来以为psr[0]输出来的值是'h' 没有想到输出来的而是 hello world ,而且 *pstr输出的也是同... 阅读全文
posted @ 2014-08-17 15:04 蝴蝶狼 阅读(2458) 评论(0) 推荐(0) 编辑