字符串赋值注意点

1.string  z="10X98765432"; s[1]=0;

   string  z="1,0,X,9,8,7,6,5,4,3,2"  s[1]=, 

这俩有区别的!!!

无聊就学习 反正没事干
原文地址:https://www.cnblogs.com/miao-xixixi/p/12635469.html