Skip to content

Commit d1eb1ed

Browse files
committed
Minor Changes to hint 1-1
1 parent 5de9000 commit d1eb1ed

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

Project#01/hints/hint1-1.md

+12-12
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
## Project 1: Hint 1
1+
## Hint 1-1: Opening and closing the file stream
22
To open a file named "geom.dat", you need a file stream object:
33

44
```c++
5-
#include <iostream>
6-
#include <fstream>
7-
#include <iomanip>
5+
#include <iostream>
6+
#include <fstream>
7+
#include <iomanip>
88

9-
...
10-
11-
int main()
12-
{
9+
...
10+
11+
int main()
12+
{
1313
ifstream input("geom.dat");
14-
14+
1515
...
16-
16+
1717
input.close();
18-
18+
1919
return 0;
20-
}
20+
}
2121
```

0 commit comments

Comments
 (0)