C++字符串和向量

陷阱:C字符串使用=和==

char a_string[10];

a_string="Hello"  非法

strcpy(a_string,"Hello");  合法

原文地址:https://www.cnblogs.com/hsy1941/p/8250958.html