Click here to Skip to main content
16,011,685 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: win32 window + dialog + messagebox Pin
Member 38254932-Jun-08 7:28
Member 38254932-Jun-08 7:28 
QuestionStretchBlt - logical units ? Pin
TalSt2-Jun-08 3:26
TalSt2-Jun-08 3:26 
AnswerRe: StretchBlt - logical units ? Pin
Hanan8882-Jun-08 4:11
Hanan8882-Jun-08 4:11 
GeneralRe: StretchBlt - logical units ? Pin
Graham Shanks2-Jun-08 4:37
Graham Shanks2-Jun-08 4:37 
AnswerRe: StretchBlt - logical units ? Pin
Graham Shanks2-Jun-08 4:36
Graham Shanks2-Jun-08 4:36 
AnswerRe: StretchBlt - logical units ? Pin
Hamid_RT3-Jun-08 1:21
Hamid_RT3-Jun-08 1:21 
GeneralRe: StretchBlt - logical units ? Pin
TalSt4-Jun-08 19:59
TalSt4-Jun-08 19:59 
QuestionUsing Braces in C++ [modified] Pin
Queeny2-Jun-08 3:02
Queeny2-Jun-08 3:02 
Is there a reason for using braces if they are not part of a condition or loop? For example:

cameraCollection->Item(0, &camera);
{ //extra code...
}

In this example, will it make a difference if I take out the braces? if it does, why?

Also, I have a sample code with no braces in the for loops? I thought braces were required, but the code compiles and does what it is supposed to do.

Example:
for(int y=0; y<288; y++)
for(int x=0; x<353; x++)
brightnessSum+=frameBuffer[x+353*y];

modified on Monday, June 2, 2008 9:08 AM
AnswerRe: Using Braces in C++ Pin
Maximilien2-Jun-08 3:08
Maximilien2-Jun-08 3:08 
AnswerRe: Using Braces in C++ Pin
David Crow2-Jun-08 3:23
David Crow2-Jun-08 3:23 
AnswerRe: Using Braces in C++ Pin
James R. Twine2-Jun-08 3:33
James R. Twine2-Jun-08 3:33 
AnswerRe: Using Braces in C++ PinPopular
Jijo.Raj2-Jun-08 4:37
Jijo.Raj2-Jun-08 4:37 
GeneralRe: Using Braces in C++ Pin
bob169722-Jun-08 17:56
bob169722-Jun-08 17:56 
AnswerRe: Using Braces in C++ Pin
Hamid_RT3-Jun-08 1:21
Hamid_RT3-Jun-08 1:21 
Questiondll not been made Pin
prithaa2-Jun-08 2:55
prithaa2-Jun-08 2:55 
AnswerRe: dll not been made Pin
Alan Balkany2-Jun-08 3:45
Alan Balkany2-Jun-08 3:45 
GeneralRe: dll not been made Pin
prithaa2-Jun-08 3:50
prithaa2-Jun-08 3:50 
GeneralRe: dll not been made Pin
Alan Balkany2-Jun-08 3:57
Alan Balkany2-Jun-08 3:57 
AnswerRe: dll not been made Pin
Hamid_RT3-Jun-08 1:23
Hamid_RT3-Jun-08 1:23 
QuestionCommunications between dialogs Pin
Trupti Mehta2-Jun-08 2:44
Trupti Mehta2-Jun-08 2:44 
AnswerRe: Communications between dialogs Pin
KarstenK2-Jun-08 2:54
mveKarstenK2-Jun-08 2:54 
GeneralRe: Communications between dialogs Pin
Trupti Mehta2-Jun-08 3:10
Trupti Mehta2-Jun-08 3:10 
AnswerRe: Communications between dialogs Pin
David Crow2-Jun-08 3:26
David Crow2-Jun-08 3:26 
AnswerRe: Communications between dialogs Pin
Jijo.Raj2-Jun-08 19:49
Jijo.Raj2-Jun-08 19:49 
GeneralRe: Communications between dialogs Pin
Trupti Mehta2-Jun-08 22:11
Trupti Mehta2-Jun-08 22:11 

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.