Is there anyway to do something like PHP\'s
print << END yadayadayada END;
in C++? (multi-line, unescaped, easy-to-cut-and-paste stre
Yes. http://en.cppreference.com/w/cpp/language/string_literal
const char* s1 = R"foo( Hello World )foo"; //same as const char* s2 = "\nHello\nWorld\n";
Whether or not it's best-practice, C++11 does pretty well exactly what you want.