Advertisement
Guest User

Untitled

a guest
May 28th, 2016
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. ifstream input(filename);
  2.  
  3. for (int i = 0; i < 4; i++)
  4. {
  5.  
  6. for (int j = 0; j < 4; j++)
  7. {
  8. string line;
  9. getline(input, line);
  10. stringstream temp(line);
  11. string tempWord;
  12. temp >> tempWord;
  13. words[i][j].push_back(tempWord);
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement