Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fstream input("text1.txt");
- string line;
- vector<string> lines;
- while (getline(input, line))
- {
- lines.push_back(line);
- }
- vector<int>vec;
- vector<char>::iterator v = lines.begin();
- while (*v = ' ')
- {
- lines.pop_back(*v);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement