setsize(10 ,-1)
前一个参数10是数组的原始大小,
后一个应该是数组大小不够时,增加的个数吧?
可是原型中默认的-1是什么意思? 增加 -1个?不能理解阿?
If the default value is used, MFC allocates memory in a way calculated to avoid memory fragmentation and optimize efficiency for most cases.