Click here to Skip to main content
15,922,533 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionMust I bind a port for server sock? Pin
derek728-Feb-06 15:21
derek728-Feb-06 15:21 
AnswerRe: Must I bind a port for server sock? Pin
Nibu babu thomas28-Feb-06 17:15
Nibu babu thomas28-Feb-06 17:15 
AnswerRe: Must I bind a port for server sock? Pin
Ryan Binns28-Feb-06 18:11
Ryan Binns28-Feb-06 18:11 
QuestionSir,Can any Help me ,I want to Know For What Generic Reason Will Applications Developed in VC++ Will Crash? Pin
CodeVarma28-Feb-06 14:58
CodeVarma28-Feb-06 14:58 
AnswerRe: Sir,Can any Help me ,I want to Know For What Generic Reason Will Applications Developed in VC++ Will Crash? Pin
mbue28-Feb-06 15:09
mbue28-Feb-06 15:09 
AnswerRe: Sir,Can any Help me ,I want to Know For What Generic Reason Will Applications Developed in VC++ Will Crash? Pin
QuickDeveloper28-Feb-06 17:15
QuickDeveloper28-Feb-06 17:15 
GeneralRe: Sir,Can any Help me ,I want to Know For What Generic Reason Will Applications Developed in VC++ Will Crash? Pin
Stephen Hewitt1-Mar-06 11:36
Stephen Hewitt1-Mar-06 11:36 
QuestionCan code be given exclusive CPU access in XP? Pin
Simon Steel28-Feb-06 14:16
Simon Steel28-Feb-06 14:16 
AnswerRe: Can code be given exclusive CPU access in XP? Pin
mbue28-Feb-06 14:40
mbue28-Feb-06 14:40 
AnswerRe: Can code be given exclusive CPU access in XP? Pin
Ryan Binns28-Feb-06 18:12
Ryan Binns28-Feb-06 18:12 
AnswerRe: Can code be given exclusive CPU access in XP? Pin
BadKarma28-Feb-06 20:29
BadKarma28-Feb-06 20:29 
QuestionDDX_Control and DDX_Text Pin
derek728-Feb-06 13:48
derek728-Feb-06 13:48 
AnswerRe: DDX_Control and DDX_Text Pin
mbue28-Feb-06 14:31
mbue28-Feb-06 14:31 
GeneralRe: DDX_Control and DDX_Text Pin
derek728-Feb-06 15:08
derek728-Feb-06 15:08 
GeneralRe: DDX_Control and DDX_Text Pin
mbue28-Feb-06 15:14
mbue28-Feb-06 15:14 
GeneralRe: DDX_Control and DDX_Text Pin
derek728-Feb-06 15:33
derek728-Feb-06 15:33 
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 

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.