Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for (vector<string>::iterator i = groups.begin(); i != groups.end(); ++i)
- {
- string k = *i;
- p += "List.txt";
- cout << p << endl;
- cout << p.c_str() << endl;
- inStream.open(p.c_str());
- if (inStream.is_open())
- cout << "is_open = true for " + *i << endl;
- else
- cout << "is_open = false for " + *i << endl;
- while (getline(inStream, next))
- {
- cout << "Comparing " + next + " to " + n + " right now." << endl;
- if (next == n) {
- memberOf.push_back(*i);
- cout << "memberOf.push_back(" + *i + ");" << endl;
- }
- }
- inStream.close();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement