Assigns a character.
a
to character r
.a
to each character in count
characters in the character sequence pointed to by p
.a | - | character value to assign |
r | - | character to assign to |
p | - | pointer to a character sequence to assign to |
count | - | the length of the character sequence |
p
count
.
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/string/char_traits/assign