Click here to Skip to main content
16,016,425 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: how to open file in another computer Pin
Nelek18-May-07 2:32
protectorNelek18-May-07 2:32 
QuestionUsing arrow keys, two keys at once Pin
Johpoke18-May-07 0:23
Johpoke18-May-07 0:23 
AnswerRe: Using arrow keys, two keys at once Pin
kakan18-May-07 0:49
professionalkakan18-May-07 0:49 
GeneralRe: Using arrow keys, two keys at once Pin
Johpoke18-May-07 0:54
Johpoke18-May-07 0:54 
GeneralRe: Using arrow keys, two keys at once Pin
Hamid_RT18-May-07 1:05
Hamid_RT18-May-07 1:05 
AnswerRe: Using arrow keys, two keys at once Pin
Roger Stoltz18-May-07 1:01
Roger Stoltz18-May-07 1:01 
AnswerRe: Using arrow keys, two keys at once (Solved) Pin
Johpoke18-May-07 1:10
Johpoke18-May-07 1:10 
GeneralRe: Using arrow keys, two keys at once (Solved) Pin
Roger Stoltz18-May-07 1:39
Roger Stoltz18-May-07 1:39 
Johpoke wrote:
i can do int data = 0xF; but how do i do the same thing with binary?


In short: you can't.

You may write integer values in your source code using decimal, octal or hexadecimal notation.
For decimal notation you have no prefix and use digits from 0 to 9, e.g. 255.
For octal notation you prefix the number with '0' and use digits from 0 to 7, e.g. 0377.
For hexadecimal notation you prefix the number with '0x' and use digits from 0 to F, e.g. 0xFF.

Each example represents the same value but with different notations.

Regarding how to read and interpret the hexadecimal notation...
Each digit represents four bits, a nibble, which can hold values between 0 and 15. You simply have to get it into your spinal cord how to represent a nibble using the different notations, e.g. that 1100 in binary equals 0xC in hex which equals 12 in decimal.


"It's supposed to be hard, otherwise anybody could do it!" - selfquote
"High speed never compensates for wrong direction!" - unknown

QuestionCreating Items in Outlook 2007 Pin
gunkel18-May-07 0:21
gunkel18-May-07 0:21 
Questiontool tips Pin
vivekphlp18-May-07 0:10
vivekphlp18-May-07 0:10 
AnswerRe: tool tips Pin
Hamid_RT18-May-07 0:23
Hamid_RT18-May-07 0:23 
GeneralRe: tool tips Pin
vivekphlp18-May-07 1:14
vivekphlp18-May-07 1:14 
GeneralRe: tool tips Pin
Hamid_RT18-May-07 1:46
Hamid_RT18-May-07 1:46 
AnswerRe: tool tips Pin
Manoj Kumar Rai18-May-07 4:10
professionalManoj Kumar Rai18-May-07 4:10 
AnswerRe: tool tips Pin
vivekphlp22-May-07 1:25
vivekphlp22-May-07 1:25 
QuestionHow to change position of propertysheet? Pin
Sethuraman.K18-May-07 0:01
Sethuraman.K18-May-07 0:01 
QuestionRe: How to change position of propertysheet? Pin
prasad_som18-May-07 0:05
prasad_som18-May-07 0:05 
AnswerRe: How to change position of propertysheet? Pin
Sethuraman.K18-May-07 0:20
Sethuraman.K18-May-07 0:20 
AnswerRe: How to change position of propertysheet? Pin
prasad_som18-May-07 0:47
prasad_som18-May-07 0:47 
GeneralRe: How to change position of propertysheet? Pin
Rajesh R Subramanian18-May-07 0:53
professionalRajesh R Subramanian18-May-07 0:53 
GeneralRe: How to change position of propertysheet? Pin
James R. Twine18-May-07 2:10
James R. Twine18-May-07 2:10 
GeneralRe: How to change position of propertysheet? Pin
prasad_som18-May-07 2:15
prasad_som18-May-07 2:15 
GeneralRe: How to change position of propertysheet? [modified] Pin
James R. Twine18-May-07 2:05
James R. Twine18-May-07 2:05 
QuestionCDateTimeCtrl::GetTime() what it return? UTC or something else? Pin
brakeshbaldhab17-May-07 23:59
brakeshbaldhab17-May-07 23:59 
AnswerRe: CDateTimeCtrl::GetTime() what it return? UTC or something else? Pin
led mike18-May-07 4:20
led mike18-May-07 4: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.