Skip to content

Commit 27362c1

Browse files
author
Matthew Sebolt
authored
Update cstring-operations-relating-to-c-style-strings.md
1 parent 9d6ac50 commit 27362c1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎docs/atl-mfc-shared/cstring-operations-relating-to-c-style-strings.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Sometimes you may require a copy of `CString` data to modify directly. Use the m
4646
4747
You should be able to find a `CString` method to perform any string operation for which you might consider using the standard C run-time library string functions such as `strcmp` (or the Unicode/MBCS-portable `_tcscmp`).
4848
49-
If you must use the C run-time string functions, you can use the techniques described in `_core_using_cstring_as_a_c.2d.style_null.2d.terminated_string`. You can copy the `CString` object to an equivalent C-style string buffer, perform your operations on the buffer, and then assign the resulting C-style string back to a `CString` object.
49+
If you must use the C run-time string functions, you can use the techniques described in [Using `CString` as a C-style null-terminated string](#_core_using_cstring_as_a_c.2d.style_null.2d.terminated_string). You can copy the `CString` object to an equivalent C-style string buffer, perform your operations on the buffer, and then assign the resulting C-style string back to a `CString` object.
5050
5151
## <a name="_core_modifying_cstring_contents_directly"></a> Modifying `CString` Contents Directly
5252

0 commit comments

Comments
 (0)