Click here to Skip to main content
15,884,388 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Java vs. C++ Pin
jhwurmbach18-Sep-07 5:25
jhwurmbach18-Sep-07 5:25 
GeneralRe: Java vs. C++ Pin
Russell'18-Sep-07 5:44
Russell'18-Sep-07 5:44 
GeneralRe: Java vs. C++ Pin
El Corazon18-Sep-07 8:22
El Corazon18-Sep-07 8:22 
GeneralRe: Java vs. C++ Pin
jhwurmbach18-Sep-07 8:31
jhwurmbach18-Sep-07 8:31 
GeneralRe: Java vs. C++ Pin
El Corazon18-Sep-07 9:01
El Corazon18-Sep-07 9:01 
AnswerRe: Java vs. C++ Pin
Mike Dimmick18-Sep-07 4:19
Mike Dimmick18-Sep-07 4:19 
AnswerRe: Java vs. C++ Pin
Nemanja Trifunovic18-Sep-07 4:46
Nemanja Trifunovic18-Sep-07 4:46 
AnswerRe: Java vs. C++ Pin
El Corazon18-Sep-07 5:00
El Corazon18-Sep-07 5:00 
You can write bad code in C++ and you can write bad code in Java. When you try to compare them you can deliberately show the advantages of either one over the other, but only for that example. It can give you a false sense of what each language is capable of. It is "a little knowledge is a dangerous thing" type problem.

Seriously, if you are going to try to compare apples and oranges, understand what the strengths and weaknesses are. A good compiler can save you from some of your errors, but only so far.

how about 0.75 seconds for C++. If I turn on full analysis, as mentioned above, I get 0 seconds. Intel can figure out the loop never uses the variable entries and removes it as useless code. A print of the values of k and j at the end will keep the code. Oh... I forgot, that is on my slowest computer.... Wink | ;)

That is the point of understanding how the language and compiler/framework work together. If you only know the "syntax" of any language, you only know half of what you are doing.



_________________________
Asu no koto o ieba, tenjo de nezumi ga warau.
Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)

AnswerRe: Java vs. C++ Pin
bob1697218-Sep-07 6:39
bob1697218-Sep-07 6:39 
GeneralRe: Java vs. C++ Pin
jhwurmbach18-Sep-07 8:33
jhwurmbach18-Sep-07 8:33 
QuestionComplier C2664 Error Pin
Andy20218-Sep-07 3:02
Andy20218-Sep-07 3:02 
QuestionRe: Complier C2664 Error Pin
David Crow18-Sep-07 3:06
David Crow18-Sep-07 3:06 
AnswerRe: Complier C2664 Error Pin
Andy20218-Sep-07 4:11
Andy20218-Sep-07 4:11 
GeneralRe: Complier C2664 Error Pin
David Crow18-Sep-07 4:19
David Crow18-Sep-07 4:19 
GeneralRe: Complier C2664 Error Pin
Andy20218-Sep-07 4:29
Andy20218-Sep-07 4:29 
GeneralRe: Complier C2664 Error Pin
David Crow18-Sep-07 4:34
David Crow18-Sep-07 4:34 
GeneralRe: Complier C2664 Error Pin
Andy20218-Sep-07 4:59
Andy20218-Sep-07 4:59 
QuestionRe: Complier C2664 Error Pin
David Crow18-Sep-07 5:14
David Crow18-Sep-07 5:14 
AnswerRe: Complier C2664 Error Pin
Andy20218-Sep-07 6:10
Andy20218-Sep-07 6:10 
QuestionPrinting Problem Pin
pri_skit18-Sep-07 1:40
pri_skit18-Sep-07 1:40 
QuestionUse MFC in.... Pin
himuskanhere18-Sep-07 1:36
himuskanhere18-Sep-07 1:36 
AnswerRe: Use MFC in.... Pin
nbugalia18-Sep-07 1:41
nbugalia18-Sep-07 1:41 
AnswerRe: Use MFC in.... Pin
Iain Clarke, Warrior Programmer18-Sep-07 1:46
Iain Clarke, Warrior Programmer18-Sep-07 1:46 
GeneralRe: Use MFC in.... Pin
ddspliting18-Sep-07 7:35
ddspliting18-Sep-07 7:35 
Questionconversion from double to float Pin
KASR118-Sep-07 1:10
KASR118-Sep-07 1:10 

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.