Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ifstream input(filename);
- for (int i = 0; i < 4; i++)
- {
- for (int j = 0; j < 4; j++)
- {
- string line;
- getline(input, line);
- stringstream temp(line);
- string tempWord;
- temp >> tempWord;
- words[i][j].push_back(tempWord);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement