Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <string>
- #include <fstream>
- #include <cstdio>
- using namespace std;
- int main()
- { ifstream fileobj;
- fileobj.open("IntegerArray.txt");
- if(fileobj.is_open())
- { cout<<"yes";
- while (!fileobj.eof()){
- cout<<fileobj;
- }
- }
- fileobj.close();
- std::getchar();
- }
Add Comment
Please, Sign In to add comment