Advertisement
Guest User

Untitled

a guest
Feb 21st, 2019
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. #include <iostream>
  2. #include <fsteam>
  3. #include <string>
  4.  
  5. using namespace std;
  6.  
  7. int main()
  8. {
  9. ifstream in;
  10. string str="";
  11. string line="";
  12. int cout =0;
  13.  
  14. cin >> str;
  15.  
  16. in.open("tadeusz.txt");
  17. if(in.good())
  18. while(!in.eof())
  19. {
  20. getline(in, line);
  21. cout<< line;
  22.  
  23.  
  24.  
  25. }
  26.  
  27. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement