What is a packed 32-bit?

  • Thread starter Thread starter Doru Roman
  • Start date Start date
D

Doru Roman

Hi,

Can somebody tell me what is a packed variable?
For example a packed 32-bit integer. Is it the same as unsigned?

Thanks
 
Doru Roman said:
Can somebody tell me what is a packed variable?

I'm guessing that by pacjed variable you are referring to the ability of the
C and C++ compilers tp pack "bit fields" into an integer. I could be wrong.

If I am not, you might want to google for "bit field" and take a look at
results like this one:

http://www.cs.cf.ac.uk/Dave/C/node13.html
For example a packed 32-bit integer. Is it the same as unsigned?

ints and unsigned ints are two different types.

Regards,
Will
 
Thanks William


William DePalo said:
I'm guessing that by pacjed variable you are referring to the ability of
the C and C++ compilers tp pack "bit fields" into an integer. I could be
wrong.

If I am not, you might want to google for "bit field" and take a look at
results like this one:

http://www.cs.cf.ac.uk/Dave/C/node13.html


ints and unsigned ints are two different types.

Regards,
Will
 
Can somebody tell me what is a packed variable?
For example a packed 32-bit integer. Is it the same as unsigned?

The book, "The New C Standard" by Derek M. Jones, which was never published,
but is freely available via Acrobat PDF, contains good information on the
subject in ample supply throughout the 1600+ page book that will surely
answer your question.


Thanks,
Shawn
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Windows 7 Problem with Facebook 9
Why 32 bit arithmatic 3
GetTickCount API 1
C# Equivalent of C++ statement 1
GetTickCount() confusion in VB 8
Service Packs 6
what version of windows and service pack 7
Expression evaluation using __int64 5

Back
Top