 |
C++Talk.NET C++ language newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Protoman Guest
|
Posted: Tue Feb 21, 2006 5:06 am Post subject: Which is better, C or C++ |
|
|
Which is better for general-purpose programming, C or C++? My friend
says C++, but I'm not sure. Please enlighten me. Thanks!!!!! |
|
| Back to top |
|
 |
Scott McPhillips [MVP] Guest
|
Posted: Tue Feb 21, 2006 6:06 am Post subject: Re: Which is better, C or C++ |
|
|
Protoman wrote:
| Quote: | Which is better for general-purpose programming, C or C++? My friend
says C++, but I'm not sure. Please enlighten me. Thanks!!!!!
|
What part of "++" is hard for you to understand?
--
Scott McPhillips [VC++ MVP] |
|
| Back to top |
|
 |
Protoman Guest
|
Posted: Tue Feb 21, 2006 6:06 am Post subject: Re: Which is better, C or C++ |
|
|
Jack Klein wrote:
Why would I get plonked? I'm just asking a simple question. |
|
| Back to top |
|
 |
Jack Klein Guest
|
|
| Back to top |
|
 |
Victor Bazarov Guest
|
Posted: Tue Feb 21, 2006 6:06 am Post subject: Re: Which is better, C or C++ |
|
|
Protoman wrote:
| Quote: | Jack Klein wrote:
On 20 Feb 2006 20:40:25 -0800, "Protoman" <Protoman2050 (AT) gmail (DOT) com
wrote in comp.lang.c++:
Which is better for general-purpose programming, C or C++? My friend
says C++, but I'm not sure. Please enlighten me. Thanks!!!!!
Each of them is both better than the other.
Questions like this will get you plonked as a troll in short order.
Why would I get plonked? I'm just asking a simple question.
|
Did you also ask it in comp.lang.c? What reaction did you get there? |
|
| Back to top |
|
 |
Jack Klein Guest
|
Posted: Tue Feb 21, 2006 7:06 am Post subject: Re: Which is better, C or C++ |
|
|
On Tue, 21 Feb 2006 00:55:44 -0500, "Scott McPhillips [MVP]"
<org-dot-mvps-at-scottmcp> wrote in comp.lang.c++:
| Quote: | Protoman wrote:
Which is better for general-purpose programming, C or C++? My friend
says C++, but I'm not sure. Please enlighten me. Thanks!!!!!
What part of "++" is hard for you to understand?
|
Note, however, that it is a post increment. And we all know what that
means...
--
Jack Klein
Home: http://JK-Technology.Com
FAQs for
comp.lang.c http://c-faq.com/
comp.lang.c++ http://www.parashift.com/c++-faq-lite/
alt.comp.lang.learn.c-c++
http://www.contrib.andrew.cmu.edu/~ajo/docs/FAQ-acllc.html |
|
| Back to top |
|
 |
Jim Langston Guest
|
Posted: Tue Feb 21, 2006 7:06 am Post subject: Re: Which is better, C or C++ |
|
|
"Protoman" <Protoman2050 (AT) gmail (DOT) com> wrote in message
news:1140496825.400085.184640 (AT) z14g2000cwz (DOT) googlegroups.com...
| Quote: | Which is better for general-purpose programming, C or C++? My friend
says C++, but I'm not sure. Please enlighten me. Thanks!!!!!
|
Protoman... I remember you.
I just wish outlook had a ploink file. |
|
| Back to top |
|
 |
Mike Wahler Guest
|
Posted: Tue Feb 21, 2006 7:06 am Post subject: Re: Which is better, C or C++ |
|
|
"Protoman" <Protoman2050 (AT) gmail (DOT) com> wrote in message
news:1140496825.400085.184640 (AT) z14g2000cwz (DOT) googlegroups.com...
| Quote: | Which is better for general-purpose programming, C or C++?
|
Yes.
| Quote: | My friend
says C++, but I'm not sure.
|
So why did you ask him/her?
| Quote: | Please enlighten me.
|
In comp.lang.c++, C++ is best.
In comp.lang.c, C is best
In comp.lang.fortran, fortran is best
In comp.lang...
Get the picture?
You're welcome.
BTW please read this:
http://www.slack.net/~shiva/welcome.txt
-Mike |
|
| Back to top |
|
 |
Jacek Dziedzic Guest
|
Posted: Tue Feb 21, 2006 8:06 am Post subject: Re: Which is better, C or C++ |
|
|
Protoman wrote:
| Quote: | Which is better for general-purpose programming, C or C++? My friend
says C++, but I'm not sure. Please enlighten me. Thanks!!!!!
|
Define "better".
- J. |
|
| Back to top |
|
 |
Ian Collins Guest
|
Posted: Tue Feb 21, 2006 9:06 am Post subject: Re: Which is better, C or C++ |
|
|
kalyan wrote:
| Quote: | probably where speed matters.. C is better
FUD. |
--
Ian Collins. |
|
| Back to top |
|
 |
kalyan Guest
|
Posted: Tue Feb 21, 2006 9:06 am Post subject: Re: Which is better, C or C++ |
|
|
probably where speed matters.. C is better, where security matters..
C++ is better..
depends on necessity. |
|
| Back to top |
|
 |
nntp.aioe.org Guest
|
Posted: Tue Feb 21, 2006 10:06 am Post subject: Re: Which is better, C or C++ |
|
|
"kalyan" <ksudhakalyan (AT) gmail (DOT) com> wrote in message
news:1140509312.954447.84310 (AT) g43g2000cwa (DOT) googlegroups.com...
| Quote: | probably where speed matters.. C is better, where security matters..
C++ is better..
depends on necessity.
Wot do you mean by that? |
--Wg- |
|
| Back to top |
|
 |
Ben Pope Guest
|
Posted: Tue Feb 21, 2006 10:06 am Post subject: Re: Which is better, C or C++ |
|
|
nntp.aioe.org wrote:
| Quote: | "kalyan" <ksudhakalyan (AT) gmail (DOT) com> wrote in message
news:1140509312.954447.84310 (AT) g43g2000cwa (DOT) googlegroups.com...
probably where speed matters.. C is better, where security matters..
C++ is better..
depends on necessity.
Wot do you mean by that?
|
Apples are less fruity than oranges.
Ben Pope
--
I'm not just a number. To many, I'm known as a string... |
|
| Back to top |
|
 |
Ben Pope Guest
|
Posted: Tue Feb 21, 2006 10:06 am Post subject: Re: Which is better, C or C++ |
|
|
kalyan wrote:
| Quote: | probably where speed matters.. C is better, where security matters..
C++ is better..
depends on necessity.
|
Nope.
Ben Pope
--
I'm not just a number. To many, I'm known as a string... |
|
| Back to top |
|
 |
Ivan Vecerina Guest
|
Posted: Tue Feb 21, 2006 10:06 am Post subject: Re: Which is better, C or C++ |
|
|
"Protoman" <Protoman2050 (AT) gmail (DOT) com> wrote in message
news:1140496825.400085.184640 (AT) z14g2000cwz (DOT) googlegroups.com...
: Which is better for general-purpose programming, C or C++? My friend
: says C++, but I'm not sure. Please enlighten me. Thanks!!!!!
Just a humble perspective of mine:
C remains the "portable assembly language", available on nearly
every processor architecture in use, including the most obscure
embedded controllers. It provides low-level control, has a large
user base, and is relatively easy to learn (if you have any
understanding of assembly or machine languages).
C++ was designed to leverage this foundation, while integrating
support for high-level programming paradigms (object-orientation,
generics, error handling with exceptions, better extensibility
and resource management). Personally I find it painful to write
large programs without taking advantages of these features.
However, getting a complete understanding of C++ takes much
more time and effort -- giving C++ the reputation of being
elitist, a language for specialists.
I am using both, as well as higher-level scripting languages
(Perl, PHP, Python, ...), and will look into platform-specific
extensions of C++ when the time comes ( e.g. C++/CLI ).
The better tool always depends on the job to be done, the
people you are working with, and a number of other factors.
What is your definition of "general-purpose programming" ?
Regards,
Ivan
--
http://ivan.vecerina.com/contact/?subject=NG_POST <- email contact form |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|