Guest User

Untitled

a guest
Nov 17th, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. #include <iostream>
  2. #include <string>
  3. #include <fstream>
  4. #include <cstdio>
  5. using namespace std;
  6.  
  7. int main()
  8. { ifstream fileobj;
  9. fileobj.open("IntegerArray.txt");
  10.  
  11. if(fileobj.is_open())
  12. { cout<<"yes";
  13. while (!fileobj.eof()){
  14. cout<<fileobj;
  15.  
  16. }
  17. }
  18. fileobj.close();
  19.  
  20.  
  21.  
  22. std::getchar();
  23. }
Add Comment
Please, Sign In to add comment