Which is better for general-purpose programming, C or C++? My friend
says C++, but I'm not sure. Please enlighten me. Thanks!!!!!
PS I believe the folks over at comp.lang.c++ could add something to
this. 10 1472
In article <11**********************@z14g2000cwz.googlegroups .com>,
Protoman <Pr**********@gmail.com> wrote: Which is better for general-purpose programming, C or C++?
Without a fairly detailed definition of what it means
for one language to be 'better' than another, and without
a fairly detailed definition of what 'general-purpose programming'
is, then the matter simply isn't worth discussing.
And if someone were to supply detailed definitions of either
of those terms, the matter would not be something to discuss
here in comp.lang.c .
--
I was very young in those days, but I was also rather dim.
-- Christopher Priest
OK, let me define "general purpose programming"
General Purpose Programming: In computer software a general-purpose
programming language is a programming language designed to be used for
writing software in a wide variaty of application domains. In many ways
a general-purpose language only has this status because it does not
include language constructs designed to be used within a specific
application domain (eg, a page description language contains constructs
intended to make it easier to write programs that control the layout of
text and graphics on a page).
And
"Protoman" <Pr**********@gmail.com> writes: Which is better for general-purpose programming, C or C++? My friend says C++, but I'm not sure. Please enlighten me. Thanks!!!!!
This is comp.lang.c. We don't discuss C++ here.
PS I believe the folks over at comp.lang.c++ could add something to this.
I doubt it.
--
Keith Thompson (The_Other_Keith) ks***@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst>
We must do something. This is something. Therefore, we must do this.
"Protoman" <Pr**********@gmail.com> writes: OK, let me define "general purpose programming"
General Purpose Programming: In computer software a general-purpose programming language is a programming language designed to be used for writing software in a wide variaty of application domains. In many ways a general-purpose language only has this status because it does not include language constructs designed to be used within a specific application domain (eg, a page description language contains constructs intended to make it easier to write programs that control the layout of text and graphics on a page).
If you're going to post here, you need to read
<http://cfaj.freeshell.org/google/>.
You're not going to get a useful answer to your question here. We
discuss the C programming language; we're not interested in comparing
it to other languages. Use whichever one works best for you.
If I didn't know better, I'd suspect you were trying to start a flame
war. Oh, wait, I don't know better.
--
Keith Thompson (The_Other_Keith) ks***@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst>
We must do something. This is something. Therefore, we must do this.
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!!!!!
PS I believe the folks over at comp.lang.c++ could add something to this.
your friend is wrong it is C.
"Protoman" <Pr**********@gmail.com> wrote in message
news:11**********************@z14g2000cwz.googlegr oups.com... Which is better for general-purpose programming, C or C++? My friend says C++, but I'm not sure. Please enlighten me. Thanks!!!!!
PS I believe the folks over at comp.lang.c++ could add something to this.
I've never programmed in C++. I love the C++ theories such as overloading,
object "orientedness," and code reuse. Having worked on a 5 million plus
line program for a number of years, those features would have been great.
"Cut and paste" was a major problem for that program. But, I have no real
world experience with C++. I have recently seen on the internet a couple of
university studies which showed that anything that could be done in C++
could be done in C, would execute faster in C, but some things were harder
to program in C.
Rod Pemberton
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!!!!!
They suck equally for general-purpose programming.
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!!!!!
PS I believe the folks over at comp.lang.c++ could add something to this.
Whitespace is better than either of them (see: http://compsoc.dur.ac.uk/whitespace/). It has the added benefit of
making printer cartridges last longer when you need hardcopy of code.
--ag
[Yes, it's a stupid answer -- but it was, after all, a stupid, trolling
question. I shouldn't have answered. I know.]
--
Artie Gold -- Austin, Texas http://goldsays.blogspot.com
"You can't KISS* unless you MISS**"
[*-Keep it simple, stupid. **-Make it simple, stupid.]
"Protoman" <Pr**********@gmail.com> wrote in message
news:11**********************@z14g2000cwz.googlegr oups.com... Which is better for general-purpose programming, C or C++? My friend says C++, but I'm not sure. Please enlighten me. Thanks!!!!! http://www.beliefnet.com/dailybible/112306.htm
PS I believe the folks over at comp.lang.c++ could add something to this.
Re there folks over there, gee whiz, I never realized that!.
On 20 Feb 2006 20:42:58 -0800, in comp.lang.c , "Protoman"
<Pr**********@gmail.com> wrote: Which is better for general-purpose programming, C or C++?
Both. Neither.
My friend says C++, but I'm not sure. Please enlighten me.
There's no one single answer since it depends entirely on what sort of
general purpose programming one does.
PS I believe the folks over at comp.lang.c++ could add something to this.
So would the folks over in the perl, python and basic groups... though
in no case might it be a useful addition :-)
Mark McIntyre
--
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it."
--Brian Kernighan
----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==---- http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =---- This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Amit D.Shinde |
last post by:
Hello Experts..
I need some help regarding cookies and session objects and also
global.asa file
I am creating one cookie when a user logs in on my website.
The cookie stores the login name of...
|
by: lastusernameleft |
last post by:
i've been researching this issue for a while and can't come to any conclusive
answer, mostly it seems to be a preference over syntax, some saying c# is
elegant while vb is clunky, or that c# is...
|
by: Markus Rebbert |
last post by:
Hi list,
i got an postgresql installation on linux (debian) with the htree
partitions:
1- system
2- postgresql data files
3- postgresql WAL logs(pg_xferlog)
Our standard file system is...
|
by: Ed Davis |
last post by:
I'm trying to decide which of the following programming styles is
better, as in easier to understand, and thus easier to maintain.
Keep in mind that for posting purposes, this is a greatly...
|
by: Robert Lario |
last post by:
C# verses VB.Net Which Way to go. I am sure this issues has come up before.
Please direct me to any good articles that cover this issue. Ideally some
neutral assessment.
|
by: smartwolf agassi via DotNetMonster.com |
last post by:
I'm a C# language learner.
I want to know which IDE is better for C# programing, Borland C#Builder or
VS.net 2003?
--
Message posted via http://www.dotnetmonster.com
|
by: monkeydragon |
last post by:
Which is better, using ReadFile/WriteFile or use fstream?
|
by: Protoman |
last post by:
Which is better for general-purpose programming, C or C++? My friend
says C++, but I'm not sure. Please enlighten me. Thanks!!!!!
|
by: meyer |
last post by:
Hi everyone,
which compiler will Python 2.5 on Windows (Intel) be built with? I
notice that Python 2.4 apparently has been built with the VS2003
toolkit compiler, and I read a post from Scott...
|
by: mike3 |
last post by:
Hi.
(Xposted to both comp.lang.c++ and comp.programming since I've got
questions related to both C++ language and general programming)
I've got the following C++ code. The first routine runs in...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| | |