Does anyone know the C ++ equivalent of the Perl __DATA__
segment? For those unfamiliar with Perl, the __DATA__
segment is an (optional) annotation at the end of the Perl file; everything that comes after is considered the contents of the (virtual) file, which can be accessed (read, written) by Perl through the DATA file descriptor. I am looking for something like this for use in a C ++ program (don't ask, don't say).
thanks
source share