Click here to Skip to main content
15,914,608 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Creating a New Document Pin
alex.barylski12-Feb-02 9:10
alex.barylski12-Feb-02 9:10 
GeneralRe: Creating a New Document Pin
Roger Allen13-Feb-02 3:05
Roger Allen13-Feb-02 3:05 
QuestionHow to color the suqare box of a check button control Pin
Jyoti12-Feb-02 7:01
Jyoti12-Feb-02 7:01 
AnswerRe: How to color the suqare box of a check button control Pin
alex.barylski12-Feb-02 9:08
alex.barylski12-Feb-02 9:08 
GeneralRe: How to color the suqare box of a check button control Pin
Jyoti13-Feb-02 9:01
Jyoti13-Feb-02 9:01 
GeneralRe: How to color the suqare box of a check button control Pin
alex.barylski13-Feb-02 13:25
alex.barylski13-Feb-02 13:25 
QuestionBit-Shifting - What is it? Pin
User 665812-Feb-02 6:39
User 665812-Feb-02 6:39 
AnswerRe: Bit-Shifting - What is it? Pin
The other Chris Losinger12-Feb-02 6:51
The other Chris Losinger12-Feb-02 6:51 
it shifts the bits to the left (<< ) or the right (>>).

if you have a BYTE x equal to 4, it looks like this in binary: 00000100. if you shift this to the left 2 bits, you get 00010000 (16).

it's used when you need to get at the individual bits in a value. i use it all the time in image processing when the size of the pixels is not an even multiple of 8 (like in a 1 or 4 bits per pixel image).

-c
AnswerRe: Bit-Shifting - What is it? Pin
Rick York12-Feb-02 6:52
mveRick York12-Feb-02 6:52 
AnswerRe: Bit-Shifting - What is it? Pin
User 665812-Feb-02 7:02
User 665812-Feb-02 7:02 
GeneralRe: Bit-Shifting - What is it? Pin
Joaquín M López Muñoz12-Feb-02 7:05
Joaquín M López Muñoz12-Feb-02 7:05 
GeneralRe: Bit-Shifting - What is it? Pin
Nemanja Trifunovic12-Feb-02 7:08
Nemanja Trifunovic12-Feb-02 7:08 
GeneralRe: Bit-Shifting - What is it? Pin
Joaquín M López Muñoz12-Feb-02 7:11
Joaquín M López Muñoz12-Feb-02 7:11 
GeneralRe: Bit-Shifting - What is it? Pin
Nemanja Trifunovic12-Feb-02 7:07
Nemanja Trifunovic12-Feb-02 7:07 
AnswerRe: Bit-Shifting - What is it? Pin
12-Feb-02 8:17
suss12-Feb-02 8:17 
Generalstatic_cast error Pin
RobJones12-Feb-02 6:30
RobJones12-Feb-02 6:30 
GeneralRe: static_cast error Pin
pba_12-Feb-02 6:38
pba_12-Feb-02 6:38 
GeneralRe: static_cast error Pin
RobJones12-Feb-02 6:48
RobJones12-Feb-02 6:48 
GeneralOne simple question => Pin
12-Feb-02 4:39
suss12-Feb-02 4:39 
GeneralRe: One simple question => Pin
Ravi Bhavnani12-Feb-02 5:08
professionalRavi Bhavnani12-Feb-02 5:08 
GeneralRe: One simple question => Pin
12-Feb-02 5:21
suss12-Feb-02 5:21 
GeneralRe: One simple question => Pin
Kashif Manzoor12-Feb-02 5:41
Kashif Manzoor12-Feb-02 5:41 
GeneralThanx Pin
12-Feb-02 22:24
suss12-Feb-02 22:24 
GeneralGrouping Data Pin
12-Feb-02 4:31
suss12-Feb-02 4:31 
GeneralRe: Grouping Data Pin
Mazdak12-Feb-02 4:39
Mazdak12-Feb-02 4:39 

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.