Click here to Skip to main content
16,007,760 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralStrange effects with bitwise operators Pin
26-Dec-01 11:47
suss26-Dec-01 11:47 
GeneralRe: Strange effects with bitwise operators Pin
Jim A. Johnson26-Dec-01 12:51
Jim A. Johnson26-Dec-01 12:51 
GeneralRe: Strange effects with bitwise operators Pin
Nish Nishant26-Dec-01 18:42
sitebuilderNish Nishant26-Dec-01 18:42 
GeneralRe: Strange effects with bitwise operators Pin
Andrew Peace26-Dec-01 12:56
Andrew Peace26-Dec-01 12:56 
GeneralHowTo initialize CFormView Pin
Semlo26-Dec-01 11:01
Semlo26-Dec-01 11:01 
GeneralRe: HowTo initialize CFormView Pin
Nemanja Trifunovic26-Dec-01 11:07
Nemanja Trifunovic26-Dec-01 11:07 
QuestionUINT 1 or 2 bytes? Pin
26-Dec-01 10:41
suss26-Dec-01 10:41 
AnswerRe: UINT 1 or 2 bytes? Pin
Tim Smith26-Dec-01 11:12
Tim Smith26-Dec-01 11:12 
Are you talking about a VC6 compiler?

Then UINT is 4 bytes. Each byte is 8 bits.

A char is a SIGNED 1 byte value.

What part of the conversion doesn't work? Aside from syntax error and loss of precision or funny business with the sign bit, there isn't anything that can actually fail.

Tim Smith
Descartes Systems Sciences, Inc.
GeneralRe: UINT 1 or 2 bytes? Pin
26-Dec-01 11:52
suss26-Dec-01 11:52 
GeneralRe: UINT 1 or 2 bytes? Pin
26-Dec-01 12:16
suss26-Dec-01 12:16 
GeneralRe: UINT 1 or 2 bytes? Pin
Sprudling26-Dec-01 17:12
Sprudling26-Dec-01 17:12 
AnswerRe: UINT 1 or 2 bytes? Pin
moliate27-Dec-01 19:13
moliate27-Dec-01 19:13 
QuestionUINT 1 or 2 bytes? Pin
26-Dec-01 10:38
suss26-Dec-01 10:38 
AnswerRe: UINT 1 or 2 bytes? Pin
Nemanja Trifunovic26-Dec-01 10:59
Nemanja Trifunovic26-Dec-01 10:59 
GeneralRe: UINT 1 or 2 bytes? Pin
26-Dec-01 11:12
suss26-Dec-01 11:12 
QuestionCOM? Pin
Rickard Andersson2026-Dec-01 10:24
Rickard Andersson2026-Dec-01 10:24 
AnswerRe: COM? Pin
Nemanja Trifunovic26-Dec-01 10:34
Nemanja Trifunovic26-Dec-01 10:34 
AnswerRe: COM? Pin
Michael Dunn26-Dec-01 14:36
sitebuilderMichael Dunn26-Dec-01 14:36 
GeneralVB and COM Pin
Mazdak26-Dec-01 8:17
Mazdak26-Dec-01 8:17 
GeneralRe: VB and COM Pin
Carlos Antollini26-Dec-01 8:36
Carlos Antollini26-Dec-01 8:36 
GeneralRe: VB and COM Pin
Nemanja Trifunovic26-Dec-01 9:01
Nemanja Trifunovic26-Dec-01 9:01 
GeneralRead/Write Com Port :: C++ Pin
valikac26-Dec-01 6:06
valikac26-Dec-01 6:06 
GeneralRe: Read/Write Com Port :: C++ Pin
Hadi Rezaee26-Dec-01 9:49
Hadi Rezaee26-Dec-01 9:49 
GeneralRe: Read/Write Com Port :: C++ Pin
valikac26-Dec-01 14:16
valikac26-Dec-01 14:16 
GeneralRe: Read/Write Com Port :: C++ Pin
Mattias Wahlberg26-Dec-01 20:20
Mattias Wahlberg26-Dec-01 20:20 

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.