Thursday, July 30, 2009

I want to find the two's compliment of two hex numbers in c++ code.Anyone to help?

i am new with c++ programming.basically i want to find 2's compliment of some 16 bit numbers.But as far as i know thin language you can't work on bits data, one has to convert in hexadecimal etc.

I want to find the two's compliment of two hex numbers in c++ code.Anyone to help?
http://www.osix.net/modules/article/?id=...





That should help you (The last two sections, anyway)


No comments:

Post a Comment