摘要: 错误写法: vector<T>* call() { vector<T> t; ... return &t; }int main(){ vector<T>* t=call(); ...} 正确写法: void call(vector<T>* t) { (*t)... ... } int main() 阅读全文
posted @ 2020-04-26 13:21 銀色飞行船 阅读(360) 评论(0) 推荐(0)