Remove the repeat items in a string list
void remove_repeat_item( vector<string> & vsList, bool bRemoveEmpty = true, bool bCaseSensitive = false )
EX1
int remove_repeat_item_ex1() { vector<string> vsPlaces = {"Guangzhou", "ChaoZhou", "", "Shantou", "Raoping", "Huanggang", "Shantou", "Shanxia"}; remove_repeat_item(vsPlaces); for( int ii=0; ii<vsPlaces.GetSize(); ii++) printf("place: %s\n",vsPlaces[ii]); return 0; }
origin.h