for(i = globaldata->labels.begin(); i != globaldata->labels.end(); ++i)
if(orderList.count(*i) == 0)
cout << "'" << *i << "'" << " is not a valid label.\n";
for(i = globaldata->labels.begin(); i != globaldata->labels.end(); ++i)
if(orderList.count(*i) == 0)
cout << "'" << *i << "'" << " is not a valid label.\n";