equivalent of "print <<<END;"
I'm trying to put large amount of html into my C/Cpp cgi code
but found that it's been difficult to do something similar to how php handles large text. Do i have to \" for every occurance of a quote or is there somethign similar in C/C++????
in PHP you can just do
print <<<END;
....
....
....
END
or in Perl
print <<__EOF__
....
...
.....
__EOF__;
delimiter overriding? using files defeats the purpose
Is it possible to change or override the cout/printf quote(") delimiter to something else,
like __END__ ... more importnalty WITHOUT having ___END__ replace every other occurance of the actual " I intend to use.
Using a file is pointless and defeats the purpose. the whole point of using this print<<<END; thing is precisely to avoid opening extra files and to stick it all inside one code.
What do they call this feature in PHP/Perl anyway? "inline code embedding"?
It'll be nice to have a name for it so I don't have to keep referring to it as "this thing", lol)
print<<<END;
...
...
END