摘要:
a. string x; // 调用default constructorb. string x = 10; // 调用constructor parameterized by int,这条语句相当于string x(10);c. string x = "abc"; // 调用constructor parameterized by const char *,这条语句相当于string x("abc");d. x = "xyz"; // 调用assign operatore. string c = a + b; // 先调用add o 阅读全文
posted @ 2011-09-01 11:45
chihits
阅读(202)
评论(0)
推荐(0)

浙公网安备 33010602011771号