Hi folks,

This is my first post here, so please be gentle with me!

I'd really appreciate it if you could take a quick look at the attached code, as it's my first attempt at "real" C++ coding. It's the start of a DES encryptor - this part just derives 16 binary sub-keys from the main key.

I just need to know if the approach is correct, or if I'm being really dumb. It works fine, but I'm not sure if there is a more "elegant" way of doing it. Too much conversion for my liking, and the constructor seems way too long.

Thanks for your time.

Cheers,

Rob.