Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <fstream>
- #include <string>
- using namespace std;
- int main() {
- ifstream fin("stroka_3.txt");
- string str;
- while (getline(fin, str))
- cout << str << endl;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment