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

C / C++ / MFC

 
AnswerRe: CreateWindowEx causes application crash. Pin
Naveen15-Jul-09 19:17
Naveen15-Jul-09 19:17 
GeneralRe: CreateWindowEx causes application crash. Pin
birajendu15-Jul-09 19:59
birajendu15-Jul-09 19:59 
GeneralRe: CreateWindowEx causes application crash. Pin
Naveen15-Jul-09 20:45
Naveen15-Jul-09 20:45 
AnswerRe: CreateWindowEx causes application crash. Pin
Cedric Moonen15-Jul-09 20:27
Cedric Moonen15-Jul-09 20:27 
QuestionRead a files summary Pin
OrCs23615-Jul-09 14:19
OrCs23615-Jul-09 14:19 
AnswerRe: Read a files summary Pin
Randor 15-Jul-09 14:58
professional Randor 15-Jul-09 14:58 
Questionwhy it prints 3? Pin
sam_psycho15-Jul-09 10:01
sam_psycho15-Jul-09 10:01 
AnswerRe: why it prints 3? Pin
David Crow15-Jul-09 10:08
David Crow15-Jul-09 10:08 
Because the statement within parenthesis, which assigns 0 to a, equates to 0 (false), thus assigning 3 to b. If you change it to:

int b = (a = 1) ? 2 : 3;
it might make more sense.

"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown

"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons


QuestionRe: why it prints 3? Pin
CPallini15-Jul-09 10:16
mveCPallini15-Jul-09 10:16 
AnswerRe: why it prints 3? Pin
David Crow15-Jul-09 10:17
David Crow15-Jul-09 10:17 
GeneralRe: why it prints 3? Pin
CPallini15-Jul-09 10:20
mveCPallini15-Jul-09 10:20 
AnswerRe: why it prints 3? Pin
CPallini15-Jul-09 10:13
mveCPallini15-Jul-09 10:13 
AnswerRe: why it prints 3? Pin
Stuart Dootson15-Jul-09 12:24
professionalStuart Dootson15-Jul-09 12:24 
GeneralRe: why it prints 3? Pin
sam_psycho15-Jul-09 15:25
sam_psycho15-Jul-09 15:25 
GeneralRe: why it prints 3? Pin
«_Superman_»15-Jul-09 17:03
professional«_Superman_»15-Jul-09 17:03 
GeneralRe: why it prints 3? Pin
harold aptroot15-Jul-09 18:43
harold aptroot15-Jul-09 18:43 
QuestionRe: why it prints 3? Pin
David Crow16-Jul-09 2:59
David Crow16-Jul-09 2:59 
QuestionPaintDesktop Pin
daavena15-Jul-09 9:45
daavena15-Jul-09 9:45 
AnswerRe: PaintDesktop Pin
CPallini15-Jul-09 10:19
mveCPallini15-Jul-09 10:19 
GeneralRe: PaintDesktop Pin
Sauce!21-Jul-09 6:19
Sauce!21-Jul-09 6:19 
QuestionBufferring PAckets Pin
resolvequestion15-Jul-09 9:11
resolvequestion15-Jul-09 9:11 
AnswerRe: Bufferring PAckets Pin
Randor 15-Jul-09 11:31
professional Randor 15-Jul-09 11:31 
AnswerRe: Bufferring PAckets Pin
«_Superman_»15-Jul-09 17:15
professional«_Superman_»15-Jul-09 17:15 
Questionwavelet transform c++ program Pin
mrby12315-Jul-09 8:34
mrby12315-Jul-09 8:34 
AnswerRe: wavelet transform c++ program Pin
CPallini15-Jul-09 9:34
mveCPallini15-Jul-09 9:34 

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.