I can initialise string with escape characer like std:string s="\065"
and this creates "A"
character. But what if I need ASCI character = 200
. std:string s="\200"
not working. Why?
Create string with ESC characters
909 views Asked by vico At
2
"\065"
does not create"A"
but"5"
."\065"
is interpreted as an octal number, which is decimal 53, which is character'5'
.std::string s = "\xc8"
; (hex) gives me the character 200.