Initializing a static array/struct from a binary file

Dan opendtv at yahoo.com
Sat Jul 7 09:39:24 PDT 2007


A feature that would be quite convienient is the ability to initialize a
static array or struct from a binary file. Good for things like lookup
tables and graphics data. Portability is no problem; just document the
binary format as being x86 style (e.g. little endian), no matter what the
hardware.

Dan





More information about the Digitalmars-d mailing list