473,795 Members | 3,331 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

What is the advantage of C?

Could you extract examples of the characteristics of C itself to
demonstrate what the advantages of C are? What are its pleasant,
expressive and versatile characteristics ?

And what are its disadvantages?

Oct 8 '06 #1
50 8547
"lovecreatesbea ...@gmail.com" <lo************ ***@gmail.comwr ote in message
news:11******** *************@i 42g2000cwa.goog legroups.com...
Could you extract examples of the characteristics of C itself to
demonstrate what the advantages of C are? What are its pleasant,
expressive and versatile characteristics ?

And what are its disadvantages?
C will get you women.
Might be a disadvantage if you are in fact a woman and not lesbian but it is
the general consensus that C gets you lots of women
Oct 8 '06 #2

"Serve Laurijssen" <se*@n.tkwrot e in message
news:eg******** **@news5.zwoll1 .ov.home.nl...
"lovecreatesbea ...@gmail.com" <lo************ ***@gmail.comwr ote in
message
news:11******** *************@i 42g2000cwa.goog legroups.com...
Could you extract examples of the characteristics of C itself to
demonstrate what the advantages of C are? What are its pleasant,
expressive and versatile characteristics ?

And what are its disadvantages?

C will get you women.
Might be a disadvantage if you are in fact a woman and not lesbian but it
is
the general consensus that C gets you lots of women
May also be a problem if in fact you are a gay male and don't want a women
either....
>

Oct 8 '06 #3
"lovecreatesbea ...@gmail.com" <lo************ ***@gmail.comwr ote in message
news:11******** *************@i 42g2000cwa.goog legroups.com...
Could you extract examples of the characteristics of C itself to
demonstrate what the advantages of C are? What are its pleasant,
expressive and versatile characteristics ?

And what are its disadvantages?
P.S. just stick:-

"What is the advantage of C language?"

into google. Plenty of hist and info...
Oct 8 '06 #4
lovecreatesbea. ..@gmail.com said:
Could you extract examples of the characteristics of C itself to
demonstrate what the advantages of C are?
C has the same advantage as strawberry ripple ice cream. It exists.

Some people prefer other flavours. Some people like several different
flavours. Some people even like to mix their flavours together.

The most important thing about C is its Cness. For people who like it, it's
exactly the right taste, with just that tang, and just that zest.

Some people want to change the flavour of C, because it doesn't taste like
the flavour they like best. This is like demanding that strawberry ripple
should taste more chocolate-chip; i.e. stupid.
What are its pleasant,
expressive and versatile characteristics ?
Partly the strawberryness and the ripplosity, partly the cold, and partly
the creamitude.
And what are its disadvantages?
It isn't chocolate-chip. (And so what?)

--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at above domain (but drop the www, obviously)
Oct 8 '06 #5

"lovecreatesbea ...@gmail.com" <lo************ ***@gmail.comwr ote in message
news:11******** *************@i 42g2000cwa.goog legroups.com...
Could you extract examples of the characteristics of C itself to
demonstrate what the advantages of C are? What are its pleasant,
expressive and versatile characteristics ?

And what are its disadvantages?
The most important advantage is that a C compiler exists for almost every
platform in existence. There is also a huge body of code.
It is about the "cleanest" of all the high level so-called second-generation
languages. It has enough syntax to make programs readable, but no more.

The main disadvantage is that there is no support for object-orientation. If
you want to use OO really you have to use another language like java or C++.
The other disadvantage is so-called "undefined behaviour". It would be
possible to define the result of every illegal operation as terminating the
program with an error message, but this wasn't done for efficiency reasons.
Which means that a buffer overrun could cause the wrong output rather than a
segmentation fault. If input is cleverly constructed, it could even cause
malicious code to be executed.
--
www.personal.leeds.ac.uk/~bgy1mm
freeware games to download.
Oct 8 '06 #6
lovecreatesbea. ..@gmail.com wrote:
Could you extract examples of the characteristics of C itself to
demonstrate what the advantages of C are? What are its pleasant,
expressive and versatile characteristics ?
It's well tested, extensively ported and concise. It's close enough to
the machine to let you write efficient code, (provided you're on your
toes), but abstracted enough to be very portable. It's relatively terse
syntax appeals to many programmers. IMHO, it has remained the best
choice of language for the purpose for which it was originally designed
- constructing system software.
And what are its disadvantages?
The answer to this question would be highly subjective and variable.
Personally I feel that C is done a disservice by it's preprocessor
language. It's about time it was improved.

Oct 8 '06 #7
Richard Heathfield wrote:
lovecreatesbea. ..@gmail.com said:
>Could you extract examples of the characteristics of C itself to
demonstrate what the advantages of C are?

C has the same advantage as strawberry ripple ice cream. It exists.

Some people prefer other flavours. Some people like several different
flavours. Some people even like to mix their flavours together.

The most important thing about C is its Cness. For people who like it,
it's exactly the right taste, with just that tang, and just that zest.
Before C became standardized and included prototypes, I couldn't
stand it at all. The original K&R flavor was much too error prone.

--
Some informative links:
<news:news.anno unce.newusers
<http://www.geocities.c om/nnqweb/>
<http://www.catb.org/~esr/faqs/smart-questions.html>
<http://www.caliburn.nl/topposting.html >
<http://www.netmeister. org/news/learn2quote.htm l>
<http://cfaj.freeshell. org/google/>
Oct 8 '06 #8
Malcolm wrote:
"lovecreatesbea ...@gmail.com" <lo************ ***@gmail.comwr ote:
>Could you extract examples of the characteristics of C itself to
demonstrate what the advantages of C are? What are its pleasant,
expressive and versatile characteristics ?

And what are its disadvantages?

The most important advantage is that a C compiler exists for almost
every platform in existence. There is also a huge body of code.
It is about the "cleanest" of all the high level so-called
second-generation languages. It has enough syntax to make programs
readable, but no more.
Actually it is neither as clean nor as portable as Pascal. However
it is significantly more flexible, and as you said, compilers exist
for practically every system.

I would much rather create, from scratch, a Pascal system than a C
system. Today this is not necessary, because of basically portable
compilers such as gcc. As a very rough measure of compiler
complexity needed, compare the size of the Pascal standard with
that of the C standard. And don't even mention C++.

--
Some informative links:
<news:news.anno unce.newusers
<http://www.geocities.c om/nnqweb/>
<http://www.catb.org/~esr/faqs/smart-questions.html>
<http://www.caliburn.nl/topposting.html >
<http://www.netmeister. org/news/learn2quote.htm l>
<http://cfaj.freeshell. org/google/>
Oct 8 '06 #9
santosh wrote:
lovecreatesbea. ..@gmail.com wrote:
.... snip ...
>
>And what are its disadvantages?

The answer to this question would be highly subjective and variable.
Personally I feel that C is done a disservice by it's preprocessor
language. It's about time it was improved.
Fundamentally impossible, due to the strictures of the great god
"backward compatibility".

--
Some informative links:
<news:news.anno unce.newusers
<http://www.geocities.c om/nnqweb/>
<http://www.catb.org/~esr/faqs/smart-questions.html>
<http://www.caliburn.nl/topposting.html >
<http://www.netmeister. org/news/learn2quote.htm l>
<http://cfaj.freeshell. org/google/>
Oct 8 '06 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
1823
by: Siemel Naran | last post by:
Hi. I have found one advantage of returning values through the argument list. It's that we have to store the return value. But when we return by value, we may forgot to store the return value. Consider, void f(int x, int& i); int i, j; f(1, i);
1
5839
by: David Horowitz | last post by:
Hi folks. I'm trying to connect to a Medisoft Advantage SQL db through SQL Server using OpenDataSource or OpenRowSet. I have general connections to the db working fine, but not with OpenDataSource or OpenRowSet. I've tried variations on: select * from OpenDataSource( 'Advantage OLE DB Provider',
58
30254
by: Larry David | last post by:
Ok, first of all, let's get the obvious stuff out of the way. I'm an idiot. So please indulge me for a moment. Consider it an act of "community service".... What does "64bit" mean to your friendly neighborhood C# programmer? The standard answer I get from computer sales people is: "It means that the CPU can process 64 bits of data at a time instead of 32." Ok... I guess I *kind* of understand what that means at an intuitive level, but what...
2
1561
by: Visually Seen # | last post by:
Hey everybody! I just want to discuss: what do people really use C# for? According to Microsoft, it was made for rapid software devolopment, and now everybody is on about XML, chat groups etc. and so much on the internet, why can't we just stick with Windows Forms? P.S. The main reason I love C# so much is because it is so good for programming, and so, why do we keep on going on and fussing about other applications?
2
6966
by: Samuel R. Neff | last post by:
What's the advantage of inheriting from CollectionBase as opposed to just implementing IList? It seems that it saves you from having to implement a few properties (Clear, CopyTo, Count, GetEnumerator, and RemoveAt) but the way it implements all the other things you need to override seems overkill and counters the advantage of having an extensible base class. For example, the documentation example implementation of Remove: Public...
3
16336
by: yinglcs | last post by:
I am reading the Boost scoped_ptr library, and I wonder what is the advantage of using that. Here is an example from Boost.org web site: #include <boost/scoped_ptr.hpp> #include <iostream> struct Shoe { ~Shoe() { std::cout << "Buckle my shoe\n"; } };
3
2218
by: Allerdyce.John | last post by:
I would like to know what is the advantage of inherit from unary_function template? For example, I have this in my code: What is the advantage of doing this: class Same : std::unary_function<A*, bool> { public:
37
5123
by: deepu | last post by:
Please reply...
22
1435
by: lovecreatesbeauty | last post by:
After read a whole OS written by C (e.g. UNIX 6th Edition written by), at the end (yes, at the last line of the text of the last chapter), someone (sure, it's John Lions) asks `What is the advantage of C' (is it your question also). lovecreatesbeauty
13
4419
by: Sarath | last post by:
What's the advantage of using for_each than the normal iteration using for loop? Is there any 'tweak' to use stream objects as 'Function' parameter of for_each loop. Seems copy function can do the same.
0
9519
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10435
Oralloy
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10163
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10000
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9037
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7538
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
1
4113
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3721
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2920
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.