Guest User

Untitled

a guest
Jan 17th, 2018
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. C:1
  2. C:2
  3. C:3
  4. C:4
  5. C:5
  6.  
  7. #include <iostream>
  8. #include <fstream>
  9. #include <string>
  10.  
  11. using namespace std;
  12.  
  13. int main()
  14. {
  15. string path;
  16. ifstream file("D:\paths.txt");
  17. {
  18. while (getline(file, path))
  19. {
  20. file >> path;
  21. cout << path << "n";
  22. }
  23. }
  24. file.close();
  25. system("pause");
  26. }
Add Comment
Please, Sign In to add comment