1.give an assignment to (a person) to a post, or assign a task to (a person)
2.give out or allot;
We were assigned new uniforms
3.attribute or credit to;
We attributed this quotation to Shakespeare
4.select something or someone for a specific purpose;
The teacher assigned him to lead his classmates in the exercise
5.attribute or give;
She put too much emphasis on her the last statement
6.make undue claims to having
7.transfer one's right to
8.decide as to where something belongs in a scheme;
The biologist assigned the mushroom to the proper class
C++ string类的成员函数,用于拷贝、赋值操作,它们允许我们顺次地把一个string 对象的 部分内容拷贝到另一个string 对象上。 函数原型: string &operator=(const string &s);把字符串s赋给当前字符串 string &assign(const char *s);用c类型字符串s赋值 string &assign(const char *s,int n);用c字符串s开始的n个字符赋值 string &assign(const string &s);把字符串s赋给当前字符串 string &assign