Thursday, 5 September 2013

Is there a C++ equivalent (or equivalent technique) of Perl's __DATA__ segment?

Is there a C++ equivalent (or equivalent technique) of Perl's __DATA__
segment?

is anyone aware of a C++ equivalent of Perl's __DATA__ segment? For anyone
not familiar with Perl, the __DATA__ segment is an (optional) annotation
towards the end of a Perl file; whatever comes after is considered the
content of a (virtual) file which can be accessed (read, written) by Perl
through the DATA file handle. I'm looking for something similar to use in
a C++ program (don't ask, don't tell).
Thanks

No comments:

Post a Comment