Is c++ really best?
-
Hi, I am just wondering about this. Everyone you speak to says c++ is best. Is it actually, when you consider that it precompiles all code to c, before compiling? If that is true, then surely you would be able to do everything c++ can do in c. So, thinking of that, c should be faster. I am not trying to start an argument, but its just a question.
-
Hi, I am just wondering about this. Everyone you speak to says c++ is best. Is it actually, when you consider that it precompiles all code to c, before compiling? If that is true, then surely you would be able to do everything c++ can do in c. So, thinking of that, c should be faster. I am not trying to start an argument, but its just a question.
toticow wrote: Is c++ really best? Yes. toticow wrote: it precompiles all code to c, before compiling? No. toticow wrote: If that is true, then surely you would be able to do everything c++ can do in c. Yes. But then, you could also do it all in assembler, or entering the codes directly with a hex editor. Sometimes you need a bigger hammer, other times you just want one. toticow wrote: So, thinking of that, c should be faster. No. That depends partially on the compiler used, but mostly on the programmer using it. toticow wrote: am not trying to start an argument, but its just a question. Glad i was able to enlighten you. :)
Shog9 --
Exchanging a walk-on part in the War
for the lead role in a Cage
-
Hi, I am just wondering about this. Everyone you speak to says c++ is best. Is it actually, when you consider that it precompiles all code to c, before compiling? If that is true, then surely you would be able to do everything c++ can do in c. So, thinking of that, c should be faster. I am not trying to start an argument, but its just a question.
What programming language is "best" is a lot like school lunch: it's all what you see it to be. Like in the school lunch, they say it's chicken parmesean, when you know full well it's the crispy chicken from yesterday w/ some melted cheese on it. You really have to look at it abstractly more than anything. If they say it's chicken parmesean, it's chicken parmesean. <---signature---> Your kid gets into Duke. You pay the tuition. That tuition goes into my checking account. My money in my checking account goes into beer, porn, and other such fun. Thank you :)
-
Hi, I am just wondering about this. Everyone you speak to says c++ is best. Is it actually, when you consider that it precompiles all code to c, before compiling? If that is true, then surely you would be able to do everything c++ can do in c. So, thinking of that, c should be faster. I am not trying to start an argument, but its just a question.
-
Hi, I am just wondering about this. Everyone you speak to says c++ is best. Is it actually, when you consider that it precompiles all code to c, before compiling? If that is true, then surely you would be able to do everything c++ can do in c. So, thinking of that, c should be faster. I am not trying to start an argument, but its just a question.
Best for what? Programming languages are tools. Pick the best tool for the job.
-
Hi, I am just wondering about this. Everyone you speak to says c++ is best. Is it actually, when you consider that it precompiles all code to c, before compiling? If that is true, then surely you would be able to do everything c++ can do in c. So, thinking of that, c should be faster. I am not trying to start an argument, but its just a question.
Well, it's a bit like asking: "Which is better: a hammer or a rubber mallet?". They are both similar, but they are useful for somewhat different jobs. HTH :)
"Blessed are the peacemakers, for they shall be called sons of God." - Jesus
"You must be the change you wish to see in the world." - Mahatma Gandhi -
Hi, I am just wondering about this. Everyone you speak to says c++ is best. Is it actually, when you consider that it precompiles all code to c, before compiling? If that is true, then surely you would be able to do everything c++ can do in c. So, thinking of that, c should be faster. I am not trying to start an argument, but its just a question.
-
Sure it can...
CIceCream *cone = new CIceCream("chocolate");
;) My code isn't buggy. Those are all fleatures. -
Sure it can...
CIceCream *cone = new CIceCream("chocolate");
;) My code isn't buggy. Those are all fleatures.You would want to share your ice cream, wouldn't you?
boost::shared_ptr<CIceCream> cone(new CIceCream("chocolate"));
-
You would want to share your ice cream, wouldn't you?
boost::shared_ptr<CIceCream> cone(new CIceCream("chocolate"));
Heck no! That's my Ice Cream
Private: CIceCream *cone;
My code isn't buggy. Those are all fleatures. -
You would want to share your ice cream, wouldn't you?
boost::shared_ptr<CIceCream> cone(new CIceCream("chocolate"));
-
What programming language is "best" is a lot like school lunch: it's all what you see it to be. Like in the school lunch, they say it's chicken parmesean, when you know full well it's the crispy chicken from yesterday w/ some melted cheese on it. You really have to look at it abstractly more than anything. If they say it's chicken parmesean, it's chicken parmesean. <---signature---> Your kid gets into Duke. You pay the tuition. That tuition goes into my checking account. My money in my checking account goes into beer, porn, and other such fun. Thank you :)
-
Well, it's a bit like asking: "Which is better: a hammer or a rubber mallet?". They are both similar, but they are useful for somewhat different jobs. HTH :)
"Blessed are the peacemakers, for they shall be called sons of God." - Jesus
"You must be the change you wish to see in the world." - Mahatma GandhiJDunlap, your analogies just don't work for me. Of course a rubber mallet is better. You can whack a mole and play croquet with a rubber mallet, you can't with a hammer, so obviousl a RM is better. A Ferrari is still better than a 4x4... ;p regards, Paul Watson Bluegrass South Africa Miszou wrote: I have read the entire internet. on how boring his day was. Crikey! ain't life grand?
-
Heck no! That's my Ice Cream
Private: CIceCream *cone;
My code isn't buggy. Those are all fleatures.But you can share and keep it yourself, both at the same time.
//C#
private CIceCream cone = new CIceCream("chocolate");
public CIceCream IceCream
{
get
{
return cone.Clone();
}
}"Blessed are the peacemakers, for they shall be called sons of God." - Jesus
"You must be the change you wish to see in the world." - Mahatma Gandhi -
JDunlap, your analogies just don't work for me. Of course a rubber mallet is better. You can whack a mole and play croquet with a rubber mallet, you can't with a hammer, so obviousl a RM is better. A Ferrari is still better than a 4x4... ;p regards, Paul Watson Bluegrass South Africa Miszou wrote: I have read the entire internet. on how boring his day was. Crikey! ain't life grand?
Paul Watson wrote: A Ferrari is still better than a 4x4... Not in snow. ;P -Nick Parker
-
Paul Watson wrote: A Ferrari is still better than a 4x4... Not in snow. ;P -Nick Parker
Which is why I suggested a 4x4 Ferrari earlier. ;) regards, Paul Watson Bluegrass South Africa Miszou wrote: I have read the entire internet. on how boring his day was. Crikey! ain't life grand?
-
Welcome to CP, Erin. :) You're one of the few women to grace this site with their presence. You can spot the others by either their names (although Trollslayer [Elaine], is not so obvious until you see her name in her sig) or by their frequent use of girly language (e.g. "hon" or "awww cute") and the ever so feminine :rose: emoticon. ;) So, tell us a little bit about yourself. :) (Oh, and I must disagree with you...Ken Childs is not sexy. ;P)
Hawaian shirts and shorts work too in Summer. People assume you're either a complete nut (in which case not a worthy target) or so damn good you don't need to worry about camouflage... -Anna-Jayne Metcalfe on Paintballing
-
Which is why I suggested a 4x4 Ferrari earlier. ;) regards, Paul Watson Bluegrass South Africa Miszou wrote: I have read the entire internet. on how boring his day was. Crikey! ain't life grand?
Paul Watson wrote: Which is why I suggested a 4x4 Ferrari earlier. That would definately get horrible gas mileage. -Nick Parker
-
Paul Watson wrote: Which is why I suggested a 4x4 Ferrari earlier. That would definately get horrible gas mileage. -Nick Parker
not that "what is the fuel consumption of this thing?" would ever come into the equation when buying a Ferrari. when I get my Enzo one day I will send you the figures. ;) regards, Paul Watson Bluegrass South Africa Miszou wrote: I have read the entire internet. on how boring his day was. Crikey! ain't life grand?
-
Welcome to CP, Erin. :) You're one of the few women to grace this site with their presence. You can spot the others by either their names (although Trollslayer [Elaine], is not so obvious until you see her name in her sig) or by their frequent use of girly language (e.g. "hon" or "awww cute") and the ever so feminine :rose: emoticon. ;) So, tell us a little bit about yourself. :) (Oh, and I must disagree with you...Ken Childs is not sexy. ;P)
Hawaian shirts and shorts work too in Summer. People assume you're either a complete nut (in which case not a worthy target) or so damn good you don't need to worry about camouflage... -Anna-Jayne Metcalfe on Paintballing
David Stone wrote: Oh, and I must disagree with you...Ken Childs is not sexy. HEY! And just HOW would you know, David?!?! <---signature---> Your kid gets into Duke. You pay the tuition. That tuition goes into my checking account. My money in my checking account goes into beer, porn, and other such fun. Thank you :)