Click here to Skip to main content
15,902,715 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralAborting a socket accept() after X seconds Pin
justin22312-Jun-03 3:35
justin22312-Jun-03 3:35 
GeneralRe: Aborting a socket accept() after X seconds Pin
Ryan Binns12-Jun-03 4:32
Ryan Binns12-Jun-03 4:32 
GeneralRe: Aborting a socket accept() after X seconds Pin
jgauffin12-Jun-03 20:41
jgauffin12-Jun-03 20:41 
GeneralAdd MFC project to my application Pin
gblascomoratilla12-Jun-03 3:32
gblascomoratilla12-Jun-03 3:32 
GeneralRe: Add MFC project to my application Pin
valikac12-Jun-03 5:58
valikac12-Jun-03 5:58 
GeneralAmazing !!!!!! Pin
Chintan12-Jun-03 2:51
Chintan12-Jun-03 2:51 
GeneralRe: Amazing !!!!!! Pin
David Crow12-Jun-03 3:06
David Crow12-Jun-03 3:06 
GeneralRe: Amazing !!!!!! Pin
Ryan Binns12-Jun-03 3:15
Ryan Binns12-Jun-03 3:15 
Chintan wrote:
Amazing !!!!!!

Not really. The compiler treats constant variables very similarly to #defines. It replaces the value of ch with 'c', which is what it is initialised with, simply because it is constant. The compiler does not care what sort of pointer trickery you perform. It assumes that a constant variable is constant, which it should be.

Ryan

Being little and getting pushed around by big guys all my life I guess I compensate by pushing electrons and holes around. What a bully I am, but I do enjoy making subatomic particles hop at my bidding - Roger Wright (2nd April 2003, The Lounge)

Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late - John Nichol "Point Of Impact"

QuestionHowto Change Debug Project Settings? Pin
Eamon Millman12-Jun-03 2:43
Eamon Millman12-Jun-03 2:43 
GeneralDebugging at run-time Pin
Shah Shehpori12-Jun-03 1:35
sussShah Shehpori12-Jun-03 1:35 
GeneralRe: Debugging at run-time Pin
skaanji12-Jun-03 6:12
skaanji12-Jun-03 6:12 
GeneralDrawing a Focus rectangle. Pin
jales12-Jun-03 1:28
jales12-Jun-03 1:28 
GeneralRe: Drawing a Focus rectangle. Pin
Ryan Binns12-Jun-03 1:33
Ryan Binns12-Jun-03 1:33 
GeneralRe: Drawing a Focus rectangle. Pin
jales12-Jun-03 3:06
jales12-Jun-03 3:06 
GeneralRe: Drawing a Focus rectangle. Pin
Ryan Binns12-Jun-03 3:11
Ryan Binns12-Jun-03 3:11 
GeneralRe: Drawing a Focus rectangle. Pin
jales12-Jun-03 5:12
jales12-Jun-03 5:12 
GeneralRe: Drawing a Focus rectangle. Pin
basementman12-Jun-03 6:07
basementman12-Jun-03 6:07 
GeneralRe: Drawing a Focus rectangle. Pin
Ryan Binns12-Jun-03 14:30
Ryan Binns12-Jun-03 14:30 
GeneralRe: Drawing a Focus rectangle. Pin
Joan M12-Jun-03 7:04
professionalJoan M12-Jun-03 7:04 
GeneralRe: Drawing a Focus rectangle. Pin
includeh1012-Jun-03 7:34
includeh1012-Jun-03 7:34 
GeneralProcess priority for 16bit applications Pin
Nyrup12-Jun-03 1:18
Nyrup12-Jun-03 1:18 
GeneralRe: Process priority for 16bit applications Pin
Ryan Binns12-Jun-03 1:28
Ryan Binns12-Jun-03 1:28 
GeneralRe: Process priority for 16bit applications Pin
basementman12-Jun-03 6:16
basementman12-Jun-03 6:16 
GeneralTopmost Pin
Eugene V.12-Jun-03 1:16
Eugene V.12-Jun-03 1:16 
GeneralRe: Topmost Pin
Jeremy Falcon12-Jun-03 4:08
professionalJeremy Falcon12-Jun-03 4:08 

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.