In C, if I put a type string in my code "Hello World \n\t\x90\x53", the compiler will parse the escape sequences into the correct bytes and leave the rest of the characters alone.
If the above line is provided by the user, either on the command line or in a file, is there a way to call the compiler function to get the same letter bytes in char[]?
Obviously, I could manually implement the functionality by hardcoding escape sequences , but I would prefer not to, if I can just call some library compiler.
source
share