Skip to content

Commit c28b98f

Browse files
authored
typo in code example
1 parent a89366d commit c28b98f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/standard-library/output-file-stream-member-functions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Three common output stream situations involve mode options:
2020
- Creating a file. If the file already exists, the old version is deleted.
2121

2222
```cpp
23-
ostream ofile("FILENAME");
23+
ofstream ofile("FILENAME");
2424
// Default is ios::out
2525

2626
ofstream ofile("FILENAME", ios::out);

0 commit comments

Comments
 (0)