Click here to Skip to main content
15,845,785 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionusing bitmap as logo in diaglog-based app Pin
swatgodjr28-Feb-06 14:22
swatgodjr28-Feb-06 14:22 
AnswerRe: using bitmap as logo in diaglog-based app Pin
mbue28-Feb-06 14:45
mbue28-Feb-06 14:45 
GeneralRe: using bitmap as logo in diaglog-based app Pin
swatgodjr28-Feb-06 15:33
swatgodjr28-Feb-06 15:33 
GeneralRe: using bitmap as logo in diaglog-based app Pin
mbue28-Feb-06 15:51
mbue28-Feb-06 15:51 
QuestionWhat does this syntax mean? Pin
Richard Andrew x6428-Feb-06 12:55
professionalRichard Andrew x6428-Feb-06 12:55 
AnswerRe: What does this syntax mean? Pin
Chris Losinger28-Feb-06 13:05
professionalChris Losinger28-Feb-06 13:05 
AnswerRe: What does this syntax mean? Pin
PJ Arends28-Feb-06 13:07
professionalPJ Arends28-Feb-06 13:07 
AnswerRe: What does this syntax mean? Pin
Ryan Binns28-Feb-06 19:18
Ryan Binns28-Feb-06 19:18 
As the others have said, it says that that field takes up one bit.

However, don't be tempted to use bit fields in your own structures. They are highly non-portable, even when compiling for the same platform. Different Windows compilers may treat them in different ways. Even different versions of the same compiler on the same platform can treat them differently. Use them only if you can guarantee that you will only ever compile your code with the same compiler (same version, same vendor etc...). The problem is that the C standard does not specify in which order the fields are to appear in memory - compilers are free to do whatever they like.

Ryan
"Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"

QuestionAny java/C#-like STL alternatives for unmanaged c++? Pin
FocusedWolf28-Feb-06 12:03
FocusedWolf28-Feb-06 12:03 
AnswerRe: Any java/C#-like STL alternatives for unmanaged c++? Pin
Chris Losinger28-Feb-06 13:06
professionalChris Losinger28-Feb-06 13:06 
AnswerRe: Any java/C#-like STL alternatives for unmanaged c++? Pin
Stephen Hewitt28-Feb-06 13:36
Stephen Hewitt28-Feb-06 13:36 
QuestionReading a 16bit data file??? Pin
pavanbabut28-Feb-06 11:18
pavanbabut28-Feb-06 11:18 
AnswerRe: Reading a 16bit data file??? Pin
David Crow28-Feb-06 11:27
David Crow28-Feb-06 11:27 
AnswerRe: Reading a 16bit data file??? Pin
PJ Arends28-Feb-06 12:08
professionalPJ Arends28-Feb-06 12:08 
GeneralRe: Reading a 16bit data file??? Pin
pavanbabut28-Feb-06 12:21
pavanbabut28-Feb-06 12:21 
GeneralRe: Reading a 16bit data file??? Pin
PJ Arends28-Feb-06 12:47
professionalPJ Arends28-Feb-06 12:47 
QuestionC++ app with no MS CRT usage Pin
Jim Crafton28-Feb-06 11:00
Jim Crafton28-Feb-06 11:00 
AnswerRe: C++ app with no MS CRT usage Pin
PJ Arends28-Feb-06 12:12
professionalPJ Arends28-Feb-06 12:12 
GeneralRe: C++ app with no MS CRT usage Pin
James Brown28-Feb-06 14:00
James Brown28-Feb-06 14:00 
GeneralRe: C++ app with no MS CRT usage Pin
derek728-Feb-06 16:17
derek728-Feb-06 16:17 
Questiondebugging an exe on windows xp Pin
ns28-Feb-06 9:20
ns28-Feb-06 9:20 
QuestionSDI's View DC Pin
masnu28-Feb-06 7:54
masnu28-Feb-06 7:54 
AnswerRe: SDI's View DC Pin
PJ Arends28-Feb-06 8:40
professionalPJ Arends28-Feb-06 8:40 
GeneralRe: SDI's View DC Pin
masnu28-Feb-06 8:59
masnu28-Feb-06 8:59 
GeneralRe: SDI's View DC Pin
David Crow28-Feb-06 9:12
David Crow28-Feb-06 9:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.