mercredi 24 février 2021

Treat std::string containing control characters as literal C++ [closed]

I have C++ application. There I am receiving string with this format: "SessionIwithcharacter,\x03" (Note \x03)

When I print it I can see this: SessionIwithcharacter,^C

My question is, is there any way in C++ to treat that character literally?

I am using C++11

Thanks in advance

Aucun commentaire:

Enregistrer un commentaire