Click here to Skip to main content
15,916,398 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Drawing text Pin
PJ Arends1-Aug-02 6:52
professionalPJ Arends1-Aug-02 6:52 
Generalbarcode reading Pin
tadedk31-Jul-02 6:09
tadedk31-Jul-02 6:09 
GeneralRe: barcode reading Pin
Anonymous31-Jul-02 8:40
Anonymous31-Jul-02 8:40 
Generalnot clear why & is used Pin
ns31-Jul-02 5:59
ns31-Jul-02 5:59 
GeneralRe: not clear why & is used Pin
Jim Crafton31-Jul-02 6:26
Jim Crafton31-Jul-02 6:26 
GeneralRe: not clear why & is used Pin
Chris Losinger31-Jul-02 6:32
professionalChris Losinger31-Jul-02 6:32 
GeneralRe: not clear why & is used Pin
ns31-Jul-02 6:38
ns31-Jul-02 6:38 
GeneralRe: not clear why & is used Pin
Chris Losinger31-Jul-02 6:45
professionalChris Losinger31-Jul-02 6:45 
it means that m_pConn->State can be in more than just the "open" state at any time.

imagine m_pConn->State = 010101 and adStateOpen = 000100. your test: m_pConn->State == adStateOpen will fail, because m_pConn->State is actually in two other states besides the "open" state. the "&" test knocks out all bits except the one representing the "open" state, before testing.

-c


To explain Donald Knuth's relevance to computing is like explaining Paul's relevance to the Catholic Church. He isn't God, he isn't the Son of God, but he was sent by God to explain God to the masses.
   /. #3848917

Generalaah! Thats what I was looking for! Pin
ns31-Jul-02 6:50
ns31-Jul-02 6:50 
GeneralRe: not clear why & is used Pin
Ravi Bhavnani31-Jul-02 6:54
professionalRavi Bhavnani31-Jul-02 6:54 
GeneralRe: not clear why & is used Pin
PJ Arends31-Jul-02 8:08
professionalPJ Arends31-Jul-02 8:08 
GeneralShared resources management Pin
Antony B.31-Jul-02 5:40
sussAntony B.31-Jul-02 5:40 
GeneralStill a little lost with GetActiveDocument() Pin
NickOne31-Jul-02 5:22
NickOne31-Jul-02 5:22 
GeneralRe: Still a little lost with GetActiveDocument() Pin
JennyP31-Jul-02 6:23
JennyP31-Jul-02 6:23 
GeneralRe: Still a little lost with GetActiveDocument() Pin
NickOne31-Jul-02 7:03
NickOne31-Jul-02 7:03 
GeneralRe: Still a little lost with GetActiveDocument() Pin
NickOne31-Jul-02 8:06
NickOne31-Jul-02 8:06 
Generalmultipart file download... Pin
behrang7931-Jul-02 5:02
behrang7931-Jul-02 5:02 
GeneralC1010: unexpected end of file while looking for precompiled header directive Pin
Raskolnikov31-Jul-02 4:59
Raskolnikov31-Jul-02 4:59 
GeneralRe: C1010: unexpected end of file while looking for precompiled header directive Pin
RichB31-Jul-02 5:05
RichB31-Jul-02 5:05 
GeneralI hate Microsoft Pin
Raskolnikov31-Jul-02 5:08
Raskolnikov31-Jul-02 5:08 
GeneralRe: I hate Microsoft Pin
Jim Crafton31-Jul-02 6:25
Jim Crafton31-Jul-02 6:25 
GeneralRe: I hate Microsoft Pin
Raskolnikov31-Jul-02 15:58
Raskolnikov31-Jul-02 15:58 
GeneralRe: I hate Microsoft Pin
Christian Graus31-Jul-02 17:02
protectorChristian Graus31-Jul-02 17:02 
GeneralMy bad I though Error lookup tool was for compiler errors.. Pin
Raskolnikov1-Aug-02 11:33
Raskolnikov1-Aug-02 11:33 
GeneralSplash screen Pin
hongheo7631-Jul-02 4:31
hongheo7631-Jul-02 4:31 

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.