Skip to content

Commit 5dd7bb3

Browse files
authored
Update how-to-convert-between-various-string-types.md
1 parent 2aeacf6 commit 5dd7bb3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/text/how-to-convert-between-various-string-types.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -623,7 +623,7 @@ int main()
623623
string orig("Hello, World!");
624624
cout << orig << " (basic_string)" << endl;
625625

626-
// Convert a wide char basic_string string to a multibyte char*
626+
// Convert a wide character basic_string string to a multibyte char*
627627
// string. To be safe, we allocate two bytes for each character
628628
// in the original string, including the terminating null.
629629
const size_t newsize = (strlen(orig.c_str()) + 1)*2;

0 commit comments

Comments
 (0)