Click here to Skip to main content
16,005,121 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Variables or not? Pin
Ravi Bhavnani10-Apr-04 15:25
professionalRavi Bhavnani10-Apr-04 15:25 
AnswerRe: Variables or not? Pin
Michael Dunn10-Apr-04 16:25
sitebuilderMichael Dunn10-Apr-04 16:25 
GeneralRe: Variables or not? Pin
Timothy Grabrian10-Apr-04 16:42
professionalTimothy Grabrian10-Apr-04 16:42 
AnswerRe: Variables or not? Pin
Prakash Nadar10-Apr-04 16:31
Prakash Nadar10-Apr-04 16:31 
GeneralRe: Variables or not? Pin
Tim Smith10-Apr-04 17:05
Tim Smith10-Apr-04 17:05 
GeneralRe: Variables or not? Pin
Prakash Nadar10-Apr-04 20:38
Prakash Nadar10-Apr-04 20:38 
AnswerRe: Variables or not? Pin
Renjith Ramachandran11-Apr-04 1:35
Renjith Ramachandran11-Apr-04 1:35 
AnswerRe: Variables or not? Pin
Graham Bradshaw11-Apr-04 3:22
Graham Bradshaw11-Apr-04 3:22 
Personally, I would use the latter. A compiler will write the same code for both, (i.e. it will create temporary variables to hold the return values from the two FindWindow calls) so there's no performance disadvantage, but with the second, you can see (and therefore debug) the results a lot easier. For example, if the first call to FindWindow fails, it will be a lot easier to spot when stepping through the code.
AnswerRe: Variables or not? Pin
John R. Shaw12-Apr-04 0:12
John R. Shaw12-Apr-04 0:12 
Generalpipes Pin
Anonymous10-Apr-04 14:23
Anonymous10-Apr-04 14:23 
GeneralRe: pipes Pin
Prakash Nadar10-Apr-04 16:34
Prakash Nadar10-Apr-04 16:34 
GeneralRe: pipes Pin
Anonymous10-Apr-04 21:01
Anonymous10-Apr-04 21:01 
GeneralRe: pipes Pin
Prakash Nadar10-Apr-04 21:57
Prakash Nadar10-Apr-04 21:57 
GeneralRe: pipes Pin
Paul Ranson13-Apr-04 0:52
Paul Ranson13-Apr-04 0:52 
GeneralRe: pipes Pin
toxcct10-Apr-04 22:18
toxcct10-Apr-04 22:18 
GeneralRe: pipes Pin
Prakash Nadar10-Apr-04 22:45
Prakash Nadar10-Apr-04 22:45 
GeneralRe: pipes Pin
toxcct11-Apr-04 0:31
toxcct11-Apr-04 0:31 
GeneralRe: pipes Pin
Anonymous11-Apr-04 0:35
Anonymous11-Apr-04 0:35 
GeneralRe: pipes Pin
Anonymous11-Apr-04 0:45
Anonymous11-Apr-04 0:45 
Generaladding your own class's overrideables to the overrideables page in vs.NET Pin
clayman8710-Apr-04 12:29
clayman8710-Apr-04 12:29 
GeneralRe: adding your own class's overrideables to the overrideables page in vs.NET Pin
CodeProjectSQ23-Jul-04 9:53
CodeProjectSQ23-Jul-04 9:53 
GeneralCString, class problem Pin
no_life10-Apr-04 10:03
no_life10-Apr-04 10:03 
GeneralRe: CString, class problem Pin
Renjith Ramachandran10-Apr-04 20:42
Renjith Ramachandran10-Apr-04 20:42 
GeneralRe: CString, class problem Pin
no_life11-Apr-04 8:05
no_life11-Apr-04 8:05 
GeneralRe: CString, class problem Pin
Renjith Ramachandran11-Apr-04 21:41
Renjith Ramachandran11-Apr-04 21:41 

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.