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

C / C++ / MFC

 
GeneralRe: Access Voilation ... Pin
Programm3r24-Jul-07 2:42
Programm3r24-Jul-07 2:42 
GeneralRe: Access Voilation ... Pin
David Crow24-Jul-07 3:15
David Crow24-Jul-07 3:15 
QuestionRe: Access Voilation ... Pin
Programm3r24-Jul-07 2:40
Programm3r24-Jul-07 2:40 
AnswerRe: Access Voilation ... Pin
Cedric Moonen24-Jul-07 2:52
Cedric Moonen24-Jul-07 2:52 
GeneralRe: Access Voilation ... Pin
Programm3r24-Jul-07 3:15
Programm3r24-Jul-07 3:15 
QuestionDeclaring too many local variable in a function would affect the performance? Pin
Mushtaque Nizamani24-Jul-07 1:45
Mushtaque Nizamani24-Jul-07 1:45 
AnswerRe: Declaring too many local variable in a function would affect the performance? Pin
Anthony_Yio24-Jul-07 1:51
Anthony_Yio24-Jul-07 1:51 
AnswerRe: Declaring too many local variable in a function would affect the performance? Pin
James R. Twine24-Jul-07 2:04
James R. Twine24-Jul-07 2:04 
   Depends on the variable and how it is being used.

   For example, creating a DWORD and adding to it in a loop is has significantly different performance implications than adding to a CString in the same loop.

   I believe it boils down more to not how many variables you have, but how you are using them.  Variables that manage resources for you (like CString) are easy to use incorrectly (or at least inefficiently).

   Peace!

-=- James
Please rate this message - let me know if I helped or not!<HR>If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong!
Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road!
See DeleteFXPFiles

AnswerRe: Declaring too many local variable in a function would affect the performance? Pin
jhwurmbach24-Jul-07 2:18
jhwurmbach24-Jul-07 2:18 
AnswerRe: Declaring too many local variable in a function would affect the performance? Pin
David Crow24-Jul-07 3:16
David Crow24-Jul-07 3:16 
QuestionHow to insert a string into the Listbox? Pin
estherpappa24-Jul-07 1:06
estherpappa24-Jul-07 1:06 
AnswerRe: How to insert a string into the Listbox? Pin
_AnsHUMAN_ 24-Jul-07 1:14
_AnsHUMAN_ 24-Jul-07 1:14 
AnswerRe: How to insert a string into the Listbox? Pin
ShilpiP24-Jul-07 2:27
ShilpiP24-Jul-07 2:27 
AnswerRe: How to insert a string into the Listbox? Pin
David Crow24-Jul-07 3:19
David Crow24-Jul-07 3:19 
AnswerRe: How to insert a string into the Listbox? Pin
Hamid_RT31-Jul-07 20:17
Hamid_RT31-Jul-07 20:17 
Questionkey codes for alphabets Pin
prithaa24-Jul-07 0:56
prithaa24-Jul-07 0:56 
AnswerRe: key codes for alphabets Pin
_AnsHUMAN_ 24-Jul-07 1:25
_AnsHUMAN_ 24-Jul-07 1:25 
QuestionAbout Threading model Pin
siddharthsan24-Jul-07 0:55
siddharthsan24-Jul-07 0:55 
AnswerRe: About Threading model Pin
DevMentor.org24-Jul-07 12:54
DevMentor.org24-Jul-07 12:54 
GeneralRe: About Threading model Pin
Matthew Faithfull25-Jul-07 1:09
Matthew Faithfull25-Jul-07 1:09 
QuestionAnyone knows a tool to find C style casts ? Pin
sixio24-Jul-07 0:24
sixio24-Jul-07 0:24 
AnswerRe: Anyone knows a tool to find C style casts ? Pin
James R. Twine24-Jul-07 2:11
James R. Twine24-Jul-07 2:11 
GeneralRe: Anyone knows a tool to find C style casts ? Pin
DevMentor.org25-Jul-07 9:39
DevMentor.org25-Jul-07 9:39 
GeneralRe: Anyone knows a tool to find C style casts ? Pin
James R. Twine25-Jul-07 11:08
James R. Twine25-Jul-07 11:08 
AnswerRe: Anyone knows a tool to find C style casts ? Pin
jhwurmbach24-Jul-07 2:20
jhwurmbach24-Jul-07 2:20 

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.