Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- C:1
- C:2
- C:3
- C:4
- C:5
- #include <iostream>
- #include <fstream>
- #include <string>
- using namespace std;
- int main()
- {
- string path;
- ifstream file("D:\paths.txt");
- {
- while (getline(file, path))
- {
- file >> path;
- cout << path << "n";
- }
- }
- file.close();
- system("pause");
- }
Add Comment
Please, Sign In to add comment