Text -> C/C++ string converter

Converting text into C-like literal, escaping newlines, tab, double quotes, backslash.

Source text:

Options:

split output into multiple lines

escape % character to %% (for printf formatting string)

C/C++ string