赞
踩
c ++ assign函数
vector::assign() is a library function of "vector" header, it is used to initialize a vector or assign content to a vector, it assigns the new content to the vector, update the existing content, and also resizes the vector's size according to the content.
vector :: assign()是“ vector”标头的库函数,用于初始化矢量或将内容分配给矢量,将新内容分配给矢量,更新现有内容,并调整矢量的大小根据内容。
Note: To use vector, include <vector> header.
注意:要使用向量,请包含<vector>标头。
Syntax of vector::assign() function
vector :: assign()函数的语法
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。