一个C教程 [英] A C tutorial

查看:69
本文介绍了一个C教程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有一个C语言教程
http:// www.cs.virginia.edu/~lcc-win32

它是用编译器编写的,在同一个URL上可用




我已经添加了相当多的材料,如果这个小组中的人试一试并告诉我是否
$ b,我会很高兴。 $ b我在某个地方说废话。


请注意我不是很正统,因此我的教程

(以及相关的编译器)不仅仅是一个教程关于

ANSI C,但涵盖了运算符重载和

等其他异端的事情:-)


因为它运行于一个特定的操作系统,windows

编程可以生成相当多的页面。如果你使用另一个操作系统,那么第一部分是(几乎)

直接C.


jacob

There is a C tutorial at
http://www.cs.virginia.edu/~lcc-win32
It is written to go with the compiler, available
at the same URL.

I have added quite a bit of material, and I would be
glad if people in this group give it a try and tell me if
I am saying nonsense somewhere.

Beware that I am not very orthodox, hence my tutorial
(and the associated compiler) is not just a tutorial about
ANSI C, but covers things like operator overloading and
other heresies :-)

And since it is running in a specific OS, windows
programming makes for quite a lot of pages. If you
use another OS however, the first part is (almost)
straight C.

jacob

推荐答案

jacob navia写道:
jacob navia wrote:
有一个C教程
http://www.cs.virginia.edu/~lcc-win32
它是用编译器编写的,可以在同一个URL上找到。

我添加了相当多的材料,如果有的话,我会很高兴的。这个小组中的人试一试,告诉我是否在某个地方说废话。

请注意我不是很正统,因此我的教程
(以及相关的编译器) )不仅仅是关于
ANSI C的教程,还包括运算符重载和其他异端的内容:-)


这将吸引一些人群的抨击。 ANSI C和运算符

重载不一起;这与狂热者没什么关系或者

异端......这更像是在说:我正在写一些关于足球的东西,

其中包括一节如何正确使用网球拍。


如果你要做一个关于C ++的教程,为什么不简单地称它为C ++

教程?

由于它在特定的操作系统中运行,因此windows
编程可以生成相当多的页面。如果你使用另一个操作系统,那么第一部分是(几乎)直接C。
There is a C tutorial at
http://www.cs.virginia.edu/~lcc-win32
It is written to go with the compiler, available
at the same URL.

I have added quite a bit of material, and I would be
glad if people in this group give it a try and tell me if
I am saying nonsense somewhere.

Beware that I am not very orthodox, hence my tutorial
(and the associated compiler) is not just a tutorial about
ANSI C, but covers things like operator overloading and
other heresies :-)
This will attract some flak from this crowd. ANSI C and operator
overloading do not go together; this has little to do with zealotry or
heresy... It''s more like saying: I''m writing something about soccer,
which includes a section on how to properly use a tennis racket.

If you''re going to do a tutorial on C++, why not simply call it a C++
tutorial?
And since it is running in a specific OS, windows
programming makes for quite a lot of pages. If you
use another OS however, the first part is (almost)
straight C.




不幸的是,ftp服务器似乎过载了。


致敬,Sidney



Unfortunately, the ftp server seems to be overloaded.

Best regards, Sidney




" Sidney Cadot" < SI **** @ jigsaw.nl>在留言中写道

news:bv ********** @ news.tudelft.nl ...

"Sidney Cadot" <si****@jigsaw.nl> wrote in message
news:bv**********@news.tudelft.nl...
jacob navia写道:
这会从这群人中吸引一些高手。 ANSI C和操作员
重载不一起;这与狂热者没什么关系
或异端......这更像是在说:我正在写一些关于足球的文章,其中包括一个关于如何正确使用网球拍的部分。


该实现与标准100%兼容。如你所知,标准并不禁止扩展。

如果你要做一个关于C ++的教程,为什么不简单地称它为
C ++教程?


因为是C.没有面向对象的编程,没有命名空间

没有方面,没有复杂性。只是来自C ++的一些想法。
jacob navia wrote:
This will attract some flak from this crowd. ANSI C and operator
overloading do not go together; this has little to do with zealotry or heresy... It''s more like saying: I''m writing something about soccer,
which includes a section on how to properly use a tennis racket.

The implementation is 100% compatible with the standard. As
you may know, the standard doesn''t forbid extensions.
If you''re going to do a tutorial on C++, why not simply call it a C++ tutorial?
Because is C. No object oriented programming, no namespaces
no facets, no complexity. Just a few ideas from C++.
由于它是在特定的操作系统中运行的,因此windows编程可以生成相当多的页面。如果你使用另一个操作系统,第一部分(几乎)直接使用C.
不幸的是,ftp服务器似乎过载了。
And since it is running in a specific OS, windows
programming makes for quite a lot of pages. If you
use another OS however, the first part is (almost)
straight C.
Unfortunately, the ftp server seems to be overloaded.



是的,有很多人使用它,我希望它很有用。

稍后再试。

最好的问候,Sidney



Yes, there are many people using it, I hope it is useful.
Just try again later.

Best regards, Sidney




谢谢

jacob



Thanks
jacob




2004年2月5日星期四,Sidney Cadot写道:

On Thu, 5 Feb 2004, Sidney Cadot wrote:

jacob navia写道:

jacob navia wrote:
有一个C教程
http://www.cs.virginia.edu/~lcc-win32
这是写给使用编译器,可以在同一个URL上使用

< snip ...>请注意,我不是非常正统,因此我的教程
(以及相关的编译器)不仅仅是关于ANSI C的教程,还包括运算符重载和其他异端的内容:-)
There is a C tutorial at
http://www.cs.virginia.edu/~lcc-win32
It is written to go with the compiler, available
at the same URL. <snip...> Beware that I am not very orthodox, hence my tutorial
(and the associated compiler) is not just a tutorial about
ANSI C, but covers things like operator overloading and
other heresies :-)



这会吸引一些人群的抨击。 ANSI C和操作员
重载不一起;这与狂热或异端邪说没什么关系......这更像是在说:我正在写一些关于足球的文章,其中包括一个关于如何正确使用网球拍的章节。



This will attract some flak from this crowd. ANSI C and operator
overloading do not go together; this has little to do with zealotry or
heresy... It''s more like saying: I''m writing something about soccer,
which includes a section on how to properly use a tennis racket.




但据我所知,雅各布*用网球踢足球

球拍...... :)


重新考虑实际内容,我给了它一个非常粗略的检查。

文本的拼写错误仍然高于平均值(例如,大写

Linux,以及第4页上的图表,除了<相对于周围文本,
略微错误布局,编译器消息本身中有b $ ba错误(成功?)。

文本的技术内容是如此lcc-win32具体到

使comp.lang.c的任何评论都毫无意义。从ISO

标准的角度来看,你在wazoo上有错误 - 但是就我所知道的那样,至少是前几十页从lcc-win32的角度来看是正确的



我还会说排版需要一些工作。它是清晰的,

但是你没有太注意Courier

的一贯使用,用于文本中嵌入的代码片段,`和之间的区别''

和TeX用的任何东西,``和''''以及许多其他的小b / b
印刷尼特。阅读比它更令人烦恼

真的必须是,恕我直言。


我的



But as I understand it, Jacob *does* play soccer with a tennis
racket... :)

Re the actual content, I gave it a very cursory inspection. The
text still has a higher-than-average number of typos (capitalize
"Linux," for example, and the diagram on page 4, besides being
slightly mis-laid-out with respect to the surrounding text, has
a typo in the compiler message itself ("sucessfully"?)).
The technical content of the text is so lcc-win32 specific as to
make any review by comp.lang.c essentially pointless. From an ISO
Standard point of view, you''ve got errors up the wazoo -- but as
far as I can tell, at least the first few dozen pages are correct
from an lcc-win32 point of view.
I will also say that the typography needs some work. It''s legible,
but you haven''t paid much attention to the consistent use of Courier
for code snippets embedded in the text, the difference between ` and ''
and whatever TeX does with ", `` and '''', and lots of other little
typographical nits. Makes it somewhat more annoying to read than it
really has to be, IMHO.

my


这篇关于一个C教程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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