摘要: 原文地址:http://www.cppblog.com/mildcat1982/archive/2010/07/14/120390.aspx 1、在dev c++ IDE下,输入下面代码,检测string的实现机制。1#include<string>2usingnamespacestd;34intmain()5{6stringstr1="hello";7stringstr2(str1);89printf("str1address:%p\n",str1.c_str());10printf("str2address:%p\n" 阅读全文
posted @ 2013-06-15 22:26 NeilHappy 阅读(432) 评论(0) 推荐(0) 编辑