Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <fstream>
- #include <cassert>
- using namespace std;
- int main()
- {
- int x[6], y[6];
- ifstream read_file("Output.dat");
- assert(read_file.is_open());
- int i = 0;
- while (!read_file.eof())
- {
- read_file >> x[i] >> y[i];
- cout <<x[i]<<" "<< y[i]<<"n";
- i++;
- }
- read_file.close();
- return 0;
- }
- 0 0
- 1 0
- 0 1
- 0 0
- 1 0
- 0 1
- 0 0
- 1 0
- 0 1
- 0 0
- 1 0
- 0 1
- 4195984 807
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement