cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
uint32 variable: 16; ?
uint32 variable: 16; ?
Oct 19, 2012 at 11:55pm UTC
minifish
(1)
typedef struct
{
uint32 variable: 16;
uint32 variable2: 8;
}new_type_s
Can someone please help me understand what the following means?
How many bit is the variable?
"uint32 variable: 16;"
Oct 20, 2012 at 12:02am UTC
Peter87
(11234)
Look up
bit fields
.
Oct 20, 2012 at 12:17am UTC
vlad from moscow
(6539)
You pointed out that you will use 16 bits.:)
Topic archived. No new replies allowed.