C-字符串常量
摘要:        
相同的字符串常量是共享的,而且是不可写的。 1 #include 2 using namespace std; 3 4 char *string1, *string2; 5 6 int main() { 7 string1 = "abcd"; string2 = "abcd"; 8 ...    阅读全文
        posted @ 2014-08-18 21:15 醉清风JM 阅读(168) 评论(0) 推荐(0)
posted @ 2014-08-18 21:15 醉清风JM 阅读(168) 评论(0) 推荐(0)
posted @ 2014-08-18 21:01 醉清风JM 阅读(242) 评论(0) 推荐(0)
posted @ 2014-08-18 16:46 醉清风JM 阅读(220) 评论(0) 推荐(0)