Skip to content

Commit c60779f

Browse files
author
Matthew Sebolt
authored
Update cstdiofile-class.md
1 parent 86f412a commit c60779f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/mfc/reference/cstdiofile-class.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,12 +192,12 @@ A pointer to the buffer containing the text data. `NULL` if end-of-file was reac
192192

193193
### Remarks
194194

195-
Reading is stopped by the first newline character. If, in that case, fewer than *`nMax`*-1 characters have been read, a newline character is stored in the buffer. A null character (`\0`) is appended in either case.
195+
Reading is stopped by the first newline character. If, in that case, fewer than *`nMax`*-1 characters have been read, a newline character is stored in the buffer. A null character (`'\0'`) is appended in either case.
196196

197197
[`CFile::Read`](../../mfc/reference/cfile-class.md#read) is also available for text-mode input, but it does not terminate on a carriage return-line feed pair.
198198

199199
> [!NOTE]
200-
> The `CString` version of this function removes the `\n` if present; the `LPTSTR` version does not.
200+
> The `CString` version of this function removes the `'\n'` if present; the `LPTSTR` version does not.
201201
202202
### Example
203203

0 commit comments

Comments
 (0)