We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5de9000 commit d1eb1edCopy full SHA for d1eb1ed
Project#01/hints/hint1-1.md
@@ -1,21 +1,21 @@
1
-## Project 1: Hint 1
+## Hint 1-1: Opening and closing the file stream
2
To open a file named "geom.dat", you need a file stream object:
3
4
```c++
5
- #include <iostream>
6
- #include <fstream>
7
- #include <iomanip>
+#include <iostream>
+#include <fstream>
+#include <iomanip>
8
9
- ...
10
-
11
- int main()
12
- {
+...
+
+int main()
+{
13
ifstream input("geom.dat");
14
15
...
16
17
input.close();
18
19
return 0;
20
- }
+}
21
```
0 commit comments