Click here to Skip to main content
15,929,504 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
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 
Erm, well, could you please explain what bit-shifting is used for in this case:

fprintf( outfile, "%d.%d.%d.%d:%hu\n",
			(ipaddr>>24)&0xff, (ipaddr>>16)&0xff,
			(ipaddr>>8)&0xff, ipaddr&0xff, port);


This is a code snippet of a tool that queries server and displays there IPs. This is actually what the above code does.

But I have no idea what it really does Confused | :confused:

maybe you could explain to me Smile | :)
idaddr is declared as
unsigned int ipaddr= ntohl(server->ipaddr);


And one last question:
How do I make keywords appear in red color in this message board?

modified 12-Sep-18 21:01pm.

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 
Generalproblem opening files in application Pin
Stew12-Feb-02 4:21
Stew12-Feb-02 4:21 
GeneralRe: problem opening files in application Pin
Nish Nishant12-Feb-02 5:16
sitebuilderNish Nishant12-Feb-02 5:16 

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.