==学习v.erase的使用
==只需要在寻找的时候,返回一个下标值,然后将该int型数值,转换成迭代器类型。
#include <iostream>
#include <vector>
#include <algorithm>
#include <string.h>
using namespace std;
class student
{
public:
char id[20];
char name[20];
int a, b, c;
};
//寻找是否存在 如果存在 返回ture 否则返回false
//返回下标,存在index中
bool isfindmix(vector