Well, thankfully, some computer language geeks are also natural language geeks ... I did C programming for about 15 years (1982-1997). It's a language that is not particularly high-level, which means that it doesn't protect you from yourself very much. It is very easy to make major mistakes writing C - like freeing up memory you never allocated. These will lead to the program crashing or, worse, seeming to run well but in reality messing up your memory behind the scenes.
It is well-suited for writing operating systems and control software, which is the kind of software that is used to control hardware at the detailed level. I wrote a lot of control software back in the day, and I modified and wrote operating system drivers and whole (albeit small) operating systems. Unix was one of the first operating systems written in a high-level language; in fact, C was developed in part for the purpose of writing Unix. Therefore, Unix and C grew up together and their histories are very intertwined.
However, C has been used for much more that low-level programming. C can be used for anything that any other language can be used for, and has. Basically, you name it:
- Operating systems
- Word processors (MS Word was written in C)
- Test environments
- General large-scale applications
- etc
Because C is so dangerous and sparse, there's a whole industry around building tools to make C more usable. For example, I would never write a major C application without using a product that provides memory leak protection. Over the years also, C was enhanced to become a slightly different language, C++. This added object-oriented features to C but still retained C's dangerous points; in fact, I would say that C++ is even more dangerous than C because there's more going on behind the scenes. Bjarne Stroustrup, the originaly developer of C++, said "In C++ it's harder to shoot yourself in the foot, but when you do, you blow off your whole leg." I heartily agree with him.
Today, most C development has been replaced by development in other languages, largely (but not exclusively) Java. I have been programming almost exclusively in Java for the past 11 years and in my opinion, for almost any purpose, it is much better than C or C++. The only drawback is that it is not as fast, although the Java development team is continuously improving it.
2007-03-15 01:50:45
·
answer #1
·
answered by Gary B 5
·
4⤊
0⤋
You should repost on the Computer category to get good answers.
As far as I know, c is a programming language which is rather complicated but makes the programms run very fast, unlike "easier" languages. UNIX programmes are written in c.
Many programming languages are based on c, like c++ and perl.
2007-03-15 01:32:43
·
answer #3
·
answered by Dr. Zaius 4
·
0⤊
0⤋
C, C+ and C++ are computer programing languages.
2007-03-15 01:36:18
·
answer #4
·
answered by Jules G 6
·
0⤊
1⤋
The main use of C is to create platform-independent software that no one can compile under windows.
2007-03-15 01:52:30
·
answer #5
·
answered by Anonymous
·
1⤊
0⤋