摘要:
1 #include <iostream> 2 #include <string> 3 using namespace std; 4 5 int main() { 6 string strA = "Copy on write"; 7 string strB = strA; 8 string strC = strA; 9 printf("strA: %p\r\n", strA.c_str());10 printf("strB: %p\r\n", strB.c_str());11 printf("strC 阅读全文
posted @ 2013-02-18 22:17 扬名 阅读(915) 评论(0) 推荐(1) 编辑