// Instructions: // compile with g++ pretty2dick.cc -o pretty2dick // Running: // pretty2dick inputfile1 [inputfile2 inputfile3 ... inputfileN] outputfilename #include #include #include #include #include using namespace std; void usage(); int main(int ac, char **av) { if(ac < 3) {usage(); return 1;} int samsize, numpolys; vector positions; vector indivs; vector< vector > polys; ifstream istr; for(int i=1; i placeholder; placeholder.push_back(line); placeholder[0].erase(line.find("\t"), line.length()); line.erase(0, line.find("\t")+1); placeholder.push_back(line); polys.push_back(placeholder); /* cout << positions[positions.size()-1] << "\t"; //debugging cout <