SImple C++ code to D

Alexandre via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Jul 14 05:32:45 PDT 2014


> I don't see much need for such aliases.
Ok, how I can reduce the number of aliaSs ?

> I suggest to avoid magic constants like that 0x80, like I have 
> avoided it here:
> memcpy(&image[IMAGE_DOS_HEADER.sizeof],

Btw, I need to start that part of code in x80


Look, that is my C++ code base: http://dpaste.com/1MMZK4R
I get a lot of problens, to convert 'strings' to UCHAR... :/


More information about the Digitalmars-d-learn mailing list