vector 大小

vector定义以后就最好确定大小resize(),否则在vector析构时可能出现 "double free or corruption"这样的错误

原文地址:https://www.cnblogs.com/defe-learn/p/7209204.html