Is there a C++ function to escape the control characters in a string? For example, if the input is "First\r\nSecond" the output should be "First\\0x0D\\0x0ASecond".
"First\r\nSecond"
"First\\0x0D\\0x0ASecond"
Aucun commentaire:
Enregistrer un commentaire