I have a logo that features many special characters, such as escape characters, and I want to print it to the terminal. How should I do this without the compiler throwing "unknown escape sequence" errors?
Here is some example code (that features only one problematic character -- not, say, hundreds):
void print_logo();
int main(){
print_logo();
return 0;
}
void print_logo(){
std::cout << "\_ hello _/\n";
}
Note that manually escaping all of the special characters in the logo is not an option.
How about raw literals?