Convert string with explicit escape sequence into relative character

前端 未结 5 1530
离开以前
离开以前 2020-12-06 17:13

I need a function to convert \"explicit\" escape sequences into the relative non-printable character. Es:

char str[] = \"\\\\n\";
cout << \"Line1\" <         


        
5条回答
提交回复
热议问题