encoding unsigned int

Jun 3, 2012 at 10:06pm
hi, I need to write a program in c++ to encode an unsigned int to a 16-bit and 32-bit integer and I do not know how to go about that. Would anyone who has written such a program be so kind to post some sample code that I can run and try to understand how it works. thanks!
Jun 3, 2012 at 10:49pm
Er... your question doesn't really make sense. An unsigned int is a 32-bit integer.

Topic archived. No new replies allowed.