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