Click here to Skip to main content
15,905,875 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionusing bitmap as logo in diaglog-based app Pin
swatgodjr28-Feb-06 13:22
swatgodjr28-Feb-06 13:22 
AnswerRe: using bitmap as logo in diaglog-based app Pin
mbue28-Feb-06 13:45
mbue28-Feb-06 13:45 
GeneralRe: using bitmap as logo in diaglog-based app Pin
swatgodjr28-Feb-06 14:33
swatgodjr28-Feb-06 14:33 
GeneralRe: using bitmap as logo in diaglog-based app Pin
mbue28-Feb-06 14:51
mbue28-Feb-06 14:51 
QuestionWhat does this syntax mean? Pin
Richard Andrew x6428-Feb-06 11:55
professionalRichard Andrew x6428-Feb-06 11:55 
AnswerRe: What does this syntax mean? Pin
Chris Losinger28-Feb-06 12:05
professionalChris Losinger28-Feb-06 12:05 
AnswerRe: What does this syntax mean? Pin
PJ Arends28-Feb-06 12:07
professionalPJ Arends28-Feb-06 12:07 
AnswerRe: What does this syntax mean? Pin
Ryan Binns28-Feb-06 18:18
Ryan Binns28-Feb-06 18: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 11:03
FocusedWolf28-Feb-06 11:03 
AnswerRe: Any java/C#-like STL alternatives for unmanaged c++? Pin
Chris Losinger28-Feb-06 12:06
professionalChris Losinger28-Feb-06 12:06 
AnswerRe: Any java/C#-like STL alternatives for unmanaged c++? Pin
Stephen Hewitt28-Feb-06 12:36
Stephen Hewitt28-Feb-06 12:36 
QuestionReading a 16bit data file??? Pin
pavanbabut28-Feb-06 10:18
pavanbabut28-Feb-06 10:18 
AnswerRe: Reading a 16bit data file??? Pin
David Crow28-Feb-06 10:27
David Crow28-Feb-06 10:27 
AnswerRe: Reading a 16bit data file??? Pin
PJ Arends28-Feb-06 11:08
professionalPJ Arends28-Feb-06 11:08 
GeneralRe: Reading a 16bit data file??? Pin
pavanbabut28-Feb-06 11:21
pavanbabut28-Feb-06 11:21 
GeneralRe: Reading a 16bit data file??? Pin
PJ Arends28-Feb-06 11:47
professionalPJ Arends28-Feb-06 11:47 
QuestionC++ app with no MS CRT usage Pin
Jim Crafton28-Feb-06 10:00
Jim Crafton28-Feb-06 10:00 
AnswerRe: C++ app with no MS CRT usage Pin
PJ Arends28-Feb-06 11:12
professionalPJ Arends28-Feb-06 11:12 
GeneralRe: C++ app with no MS CRT usage Pin
James Brown28-Feb-06 13:00
James Brown28-Feb-06 13:00 
GeneralRe: C++ app with no MS CRT usage Pin
derek728-Feb-06 15:17
derek728-Feb-06 15:17 
Questiondebugging an exe on windows xp Pin
ns28-Feb-06 8:20
ns28-Feb-06 8:20 
QuestionSDI's View DC Pin
masnu28-Feb-06 6:54
masnu28-Feb-06 6:54 
AnswerRe: SDI's View DC Pin
PJ Arends28-Feb-06 7:40
professionalPJ Arends28-Feb-06 7:40 
GeneralRe: SDI's View DC Pin
masnu28-Feb-06 7:59
masnu28-Feb-06 7:59 
GeneralRe: SDI's View DC Pin
David Crow28-Feb-06 8:12
David Crow28-Feb-06 8: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.