參考資訊:
https://stackoverflow.com/questions/1135841/c-multiline-string-literal
main.c
#include <stdio.h> int main(int argc, char **argv) { const char* s = R""(++ C++ Multiline String --)""; printf(s); return 0; }
編譯、執行
$ gcc main.c -o main $ ./main ++ C++ Multiline String --