Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <fsteam>
- #include <string>
- using namespace std;
- int main()
- {
- ifstream in;
- string str="";
- string line="";
- int cout =0;
- cin >> str;
- in.open("tadeusz.txt");
- if(in.good())
- while(!in.eof())
- {
- getline(in, line);
- cout<< line;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement