为什么C好???有专家吗? [英] Why is C good??? any experts?

查看:71
本文介绍了为什么C好???有专家吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我是C的新手,很想知道关于C的一些基本问题。

为什么C好?

In它比其他任何语言都更好?

如果它不再是编程语言的选择...为什么人们还在学习它?b $ b它呢?

而且它也不是OO语言......

不是OO语言有什么优势吗?


我知道一个原因是,IT从C开始,所以他们仍然使用

而不是将其改为新语言。

Hi,
I am new to C and curious to know some basic questions about C.
Why C is good?
In what way its better than any other languages?
If it is no longer a choice of programming language...why people still study
it?
And also its not an OO language either...is there any advantages in being
not an OO language?

I know one reason is that, IT started with C and so they are still using
them rather than changing it into new language.

推荐答案

Suresh写道:
Suresh wrote:

我是C的新手并且很想知道关于C的一些基本问题。
为什么C好??br它以什么方式比其他语言更好?
如果它不再是编程语言的选择...为什么人们还在学习呢?
它也不是OO语言要么......是否有任何优势,而不是OO语言e?

我知道一个原因是,IT从C开始,因此他们仍在使用它们而不是将其改为新语言。
Hi,
I am new to C and curious to know some basic questions about C.
Why C is good?
In what way its better than any other languages?
If it is no longer a choice of programming language...why people still study
it?
And also its not an OO language either...is there any advantages in being
not an OO language?

I know one reason is that, IT started with C and so they are still using
them rather than changing it into new language.




我认为你所有的问题归结为为什么选择C超过某些东西

其他?


有两个答案。


1. C有时被称为便携式汇编程序。这个陈述所代表的关键概念

是C更接近大多数其他语言的机器。它可以准确理解C $ / $
程序正在做什么,因为没有(必然)很多开销

正在进行中。你不必猜测编译器包含什么其他信息,以便像多态这样的东西可以工作,以及如何使用额外的信息来影响像内存这样的东西布局一个

汇总数据结构。


2. C无处不在。 C就像任何人都希望的那样无处不在。如果你想编写一个干净,可移植,最小的b $ b(少数依赖项)程序,很少有系统可以编译和运行
。 />



I think all of your questions boil down to "why choose C over something
else?"

There are two answers.

1. C is sometimes known as "portable assembler". The key concept
represented by this statement is that C is closer to the machine that
most other languages. It''s possible to understand exactly what a C
program is doing because there isn''t (necessarily) a lot of overhead
going on. You don''t have to guess what other information the compiler
is including in order for things like polymorphism to work, and how that
additional information will impact things like memory layout of an
aggregate data structure.

2. C is everywhere. C is about as ubiquitous a language as anyone
could ever hope for. If you want to write a clean, portable, minimal
(few dependencies) program, there are very few systems where it won''t
compile and run.


Suresh写道:
Suresh wrote:
我是C的新手,很想知道关于C的一些基本问题。
为什么C是好的?
它以什么方式比其他语言更好?
如果它不再是编程语言的选择,
为什么人们还在研究它?


新C程序员需要维护旧的C程序。

而且它也不是OO语言......
是否有任何优点在不是OO语言?


No.

我知道一个原因是,
IT从C开始,因此他们仍在使用它们而不是将其改为新语言。
I am new to C and curious to know some basic questions about C.
Why C is good?
In what way its better than any other languages?
If it is no longer a choice of programming language,
why people still study it?
New C programmers are required to maintain old C programs.
And also its not an OO language either...
is there any advantages in being not an OO language?
No.
I know one reason is that,
IT started with C and so they are still using them
rather than changing it into new language.



2004年4月30日星期五01:06:25 GMT,Suresh < GS ***** @ rogers.com>在comp.lang.c中写了


On Fri, 30 Apr 2004 01:06:25 GMT, "Suresh" <gs*****@rogers.com> wrote
in comp.lang.c:

我是C的新手,很想知道关于C的一些基本问题。为什么C好??
以什么方式比其他语言更好?
如果它不再是编程语言的选择......为什么人们还在研究呢?<并且它也不是OO语言......是不是有OO语言有什么好处?

我知道一个原因是,IT开始于C等等他们仍在使用
而不是将其改为新语言。
Hi,
I am new to C and curious to know some basic questions about C.
Why C is good?
In what way its better than any other languages?
If it is no longer a choice of programming language...why people still study
it?
And also its not an OO language either...is there any advantages in being
not an OO language?

I know one reason is that, IT started with C and so they are still using
them rather than changing it into new language.




您的上一句话完全是胡说八道。它开始使用FORTRAN和

COBOL作为高级语言,以及JCL等其他东西。


-

Jack Klein

主页: http://JK-Technology.Com

常见问题解答

comp.lang.c http://www.eskimo.com/~scs/C-faq/top.html

comp.lang.c ++ http://www.parashift.com/c++-faq-lite/

alt.comp.lang.learn.c-c ++
http://www.contrib.andrew.cmu.edu/~a...FAQ-acllc.html



Your last statement is complete nonsense. IT started with FORTRAN and
COBOL as the high level languages, and other things like JCL.

--
Jack Klein
Home: http://JK-Technology.Com
FAQs for
comp.lang.c http://www.eskimo.com/~scs/C-faq/top.html
comp.lang.c++ http://www.parashift.com/c++-faq-lite/
alt.comp.lang.learn.c-c++
http://www.contrib.andrew.cmu.edu/~a...FAQ-acllc.html


这篇关于为什么C好???有专家吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆