Click here to Skip to main content
15,888,610 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalsome thing is strang in double type Pin
Ahmad19-Mar-01 21:44
Ahmad19-Mar-01 21:44 
GeneralRe: some thing is strang in double type Pin
markkuk19-Mar-01 22:10
markkuk19-Mar-01 22:10 
GeneralRe: some thing is strang in double type Pin
Ahmad20-Mar-01 21:00
Ahmad20-Mar-01 21:00 
Generalpointer of pointer(char** ch) Pin
Ahmad19-Mar-01 21:39
Ahmad19-Mar-01 21:39 
GeneralRe: pointer of pointer(char** ch) Pin
Datacrime20-Mar-01 1:24
Datacrime20-Mar-01 1:24 
GeneralRe: pointer of pointer(char** ch) Pin
Ahmad20-Mar-01 21:09
Ahmad20-Mar-01 21:09 
Generalbitwise left shift and sight shift Operators << , >> Pin
Ahmad19-Mar-01 21:35
Ahmad19-Mar-01 21:35 
GeneralRe: bitwise left shift and sight shift Operators << , >> Pin
Michael Martin20-Mar-01 16:45
professionalMichael Martin20-Mar-01 16:45 
Ahmad

the bitwise operators move the bits in a variable left or right the number of positions requested. Take the following code snippet for example.

void main()
{
   int nNumber = 8; // Binary value 00001000 Decimal 8

   nNumber >> 2;    // Binary value 00000010 Decimal 2
}


If you move the bits set to 1 too far to the left or right they just drop off the end and are lost.

Hope that helps.

Michael Martin
Pegasystems Pty Ltd
Australia
martm@pegasystems.com
+61 413-004-018
GeneralRe: bitwise left shift and sight shift Operators << , >> Pin
Ahmad20-Mar-01 21:16
Ahmad20-Mar-01 21:16 
Generali want to know something about wingdows logon Pin
mikeluo19-Mar-01 16:04
mikeluo19-Mar-01 16:04 
GeneralCalling dos command in a win32 console application Pin
kk919-Mar-01 13:14
kk919-Mar-01 13:14 
GeneralRe: Calling dos command in a win32 console application Pin
Tim Deveaux19-Mar-01 14:10
Tim Deveaux19-Mar-01 14:10 
GeneralRe: Calling dos command in a win32 console application Pin
Michael Martin19-Mar-01 15:19
professionalMichael Martin19-Mar-01 15:19 
GeneralCustomizing Intellisense Information Tooltips Pin
19-Mar-01 12:23
suss19-Mar-01 12:23 
GeneralRe: Customizing Intellisense Information Tooltips Pin
20-Mar-01 5:48
suss20-Mar-01 5:48 
GeneralChecking for administrative rights in windows NT Pin
19-Mar-01 12:07
suss19-Mar-01 12:07 
GeneralRe: Checking for administrative rights in windows NT Pin
Tim Deveaux19-Mar-01 13:59
Tim Deveaux19-Mar-01 13:59 
GeneralRe: Checking for administrative rights in windows NT Pin
Cathy17-Aug-01 15:09
Cathy17-Aug-01 15:09 
GeneralRecasting a void pointer Pin
Andrew Traub19-Mar-01 12:03
Andrew Traub19-Mar-01 12:03 
GeneralRe: Recasting a void pointer Pin
Jonathan Gilligan19-Mar-01 12:25
Jonathan Gilligan19-Mar-01 12:25 
GeneralSwitching between two forms Pin
19-Mar-01 9:06
suss19-Mar-01 9:06 
GeneralDisable Tree Item in Outlook bar control Pin
19-Mar-01 8:59
suss19-Mar-01 8:59 
QuestionHow to use proxy like IE Pin
TomK19-Mar-01 7:18
TomK19-Mar-01 7:18 
GeneralCHtmlView::OnBeforeNavigate2 try to spy Pin
mstuebner19-Mar-01 7:13
mstuebner19-Mar-01 7:13 
GeneralRe: CHtmlView::OnBeforeNavigate2 try to spy Pin
jerry0davis20-Mar-01 0:48
jerry0davis20-Mar-01 0:48 

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.