楼上这我知道,可能我基础差,怎么还看不懂啊,5555555就是引号内有 (字符串str的值为:" " + a + " ")
引号内有2个空引号去掉就是 (字符串str的值为:+a+)
那么结果不是 字符串str的值为:+a+吗?
怎么是 字符串str的值为: "join us! "
见笑,楼上说说^_^
引号内有2个空引号去掉就是 (字符串str的值为:+a+)
那么结果不是 字符串str的值为:+a+吗?
怎么是 字符串str的值为: "join us! "
见笑,楼上说说^_^
string b = "b";
string c = a+b;