Click here to Skip to main content
15,886,873 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionMFC dosen't care about code quality? Pin
Naveen29-Apr-08 4:16
Naveen29-Apr-08 4:16 
AnswerRe: MFC dosen't care about code quality? Pin
David Crow29-Apr-08 4:32
David Crow29-Apr-08 4:32 
GeneralRe: MFC dosen't care about code quality? Pin
Naveen29-Apr-08 4:44
Naveen29-Apr-08 4:44 
AnswerRe: MFC dosen't care about code quality? Pin
toxcct29-Apr-08 5:08
toxcct29-Apr-08 5:08 
GeneralRe: MFC dosen't care about code quality? Pin
Naveen29-Apr-08 5:23
Naveen29-Apr-08 5:23 
GeneralRe: MFC dosen't care about code quality? Pin
toxcct29-Apr-08 5:30
toxcct29-Apr-08 5:30 
AnswerRe: MFC dosen't care about code quality? PinPopular
Randor 29-Apr-08 5:51
professional Randor 29-Apr-08 5:51 
GeneralRe: MFC dosen't care about code quality? Pin
BadKarma29-Apr-08 21:16
BadKarma29-Apr-08 21:16 
Randor wrote:
CString and optimization should never be used in the same sentence. It is common sense that constant string literals is a more optimized way of storing string literals. There seems to have been a paradigm shift over the years that optimizations are no longer valid. Its funny how Moore's law has accurately predicted the number of transistors and Wirth's law[^] is correctly predicting that applications are increasingly becoming slower and slower.


This problem will only grow. Especially with the new .Net languages where you don't need to worry about the memory. I've recently used c# to create a report, due to the enormous data to put into the report the memory it used was about 1 GB. After I closed the report, the memory wasn't freed.
I though no problem, thats why there is a Garbage Collector running.
Yeah right, tried to create the report again and the OutOfMemoryException was thrown.

I rather stick with c/c++ where I can control the memory, in such way I need or see fit.

Randor wrote:
I have noticed that many software engineers excessively use CStrings and have no concept of passing values through the stack rather than the heap. It is my opinion/philosophy that software engineers should be certified sort of like a doctor or lawyer. We should all be dressed in lab coats and wearing einsteins aircut[^].

I like this idea Big Grin | :-D , We certainly need safety goggles too and a light saber, in case we are attacked by a lowlife BUG Poke tongue | ;-P

codito ergo sum

QuestionRe: MFC dosen't care about code quality? Pin
bob1697229-Apr-08 21:47
bob1697229-Apr-08 21:47 
QuestionImplementation of gmtime( ) in Windows mobile Pin
Mohanraj D29-Apr-08 2:17
Mohanraj D29-Apr-08 2:17 
QuestionRe: Implementation of gmtime( ) in Windows mobile Pin
David Crow29-Apr-08 3:06
David Crow29-Apr-08 3:06 
QuestionVC++ DLL - ? assign value to VARIANT type variable Pin
lgatcodeproject29-Apr-08 0:02
lgatcodeproject29-Apr-08 0:02 
GeneralRe: VC++ DLL - ? assign value to VARIANT type variable Pin
CPallini29-Apr-08 0:14
mveCPallini29-Apr-08 0:14 
GeneralRe: VC++ DLL - ? assign value to VARIANT type variable Pin
lgatcodeproject29-Apr-08 0:29
lgatcodeproject29-Apr-08 0:29 
GeneralRe: VC++ DLL - ? assign value to VARIANT type variable Pin
CPallini29-Apr-08 0:38
mveCPallini29-Apr-08 0:38 
GeneralRe: VC++ DLL - ? assign value to VARIANT type variable Pin
lgatcodeproject29-Apr-08 0:50
lgatcodeproject29-Apr-08 0:50 
GeneralRe: VC++ DLL - ? assign value to VARIANT type variable Pin
CPallini29-Apr-08 1:02
mveCPallini29-Apr-08 1:02 
QuestionWhich type of string do you use in VC++ project? Pin
zengkun10028-Apr-08 22:55
zengkun10028-Apr-08 22:55 
AnswerRe: Which type of string do you use in VC++ project? Pin
Saurabh.Garg28-Apr-08 23:01
Saurabh.Garg28-Apr-08 23:01 
AnswerRe: Which type of string do you use in VC++ project? Pin
_AnsHUMAN_ 28-Apr-08 23:32
_AnsHUMAN_ 28-Apr-08 23:32 
GeneralRe: Which type of string do you use in VC++ project? Pin
zengkun10028-Apr-08 23:50
zengkun10028-Apr-08 23:50 
AnswerRe: Which type of string do you use in VC++ project? Pin
CPallini28-Apr-08 23:48
mveCPallini28-Apr-08 23:48 
GeneralRe: Which type of string do you use in VC++ project? Pin
zengkun10028-Apr-08 23:51
zengkun10028-Apr-08 23:51 
GeneralRe: Which type of string do you use in VC++ project? Pin
CPallini29-Apr-08 0:01
mveCPallini29-Apr-08 0:01 
GeneralRe: Which type of string do you use in VC++ project? Pin
zengkun10029-Apr-08 0:12
zengkun10029-Apr-08 0:12 

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.