对于C或不对C,这就是问题...... [英] To C or not to C, that is the question...

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

问题描述

大家好,


我现在使用Linux已经有一段时间了,我很高兴地注意到我是

开始知道我的方式。我可以写一些小bash,sed和awk

脚本来帮助我完成日常任务,而且我还有一个彻底的b $ b看看Python,这是非常适合的帮助我完成我的工作,

这是语言研究,即主要是文本处理。


然而,这似乎没有多大用处理解和修改Linux应用程序源代码的
,其中90%似乎是用C语言编写的。我不想写革命性的新程序,我只是

喜欢看一些Linux应用程序的内幕,或者在这里和那里写一点

补丁以适应我的目的,并以这种方式,

甚至可能有一天会回馈给开源社区。


问题是,C看起来并不像新手友好的写的 br />
伪代码走进公园就是Python!变量声明,

指针,内存分配......我很害怕!我主要担心的是:在我的

限制的空闲时间(这将是晚上8点到8点)之前我是否可以为上述目的学习足够的C,这是否可行?
AM !;)或

我应该把它留给计算机科学专业的学生和全职的Linux

黑客吗?


我如果你能告诉我你自己的C -

的经历以及我是否应该或不应该从你的观点中学到它,那将会很高兴

。 br />

致以最诚挚的问候,

Rehceb

Hello everyone,

I''m using Linux since quite a while now and I''m happy to notice that I''m
beginning to "know my way round". I can write little bash, sed and awk
scripts to help me with my everyday tasks and I''ve also had a thorough
look at Python, which is ideally suited for helping me with my work,
which is linguistic research, i.e. mainly text processing.

However, this does not seem to be of much use in understanding and
modifying source code of Linux applications, 90% of which seem to be
written in C. I do not want to write revolutionary new programs, I''d just
like to look under the hood of some Linux apps and perhaps write a little
patch here and there to adapt them for my purposes and, in this way,
maybe even contribute back to the Open Source community one day.

The problem is, C doesn''t look at all like the newbie-friendly "written
pseudo-code" walk-in-the-park that is Python! Variable declarations,
pointers, memory allocations... I''m scared! My main concern is: Is it
even feasible for me to learn enough C for the above purposes in my
restricted spare time (which would be pretty much 8 PM till 8 AM! ;) or
should I leave that to the computer science students and full-time Linux
hackers?

I would be glad if you could tell me about your own experiences with C --
and whether I should or shouldn''t learn it from your point
of view.

With best regards,
Rehceb

推荐答案

4月13日,10日:上午56点,Rehceb Rotkiv< reh ... @ no.spam.plzwrote:
On Apr 13, 10:56 am, Rehceb Rotkiv <reh...@no.spam.plzwrote:

大家好,

我已经使用Linux了很长一段时间了,我很高兴地注意到我已经开始知道我的方式了。我可以写一些小bash,sed和awk

脚本来帮助我完成日常任务,而且我还有一个彻底的b $ b看看Python,这是非常适合的帮助我完成我的工作,

这是语言研究,即主要是文本处理。


然而,这似乎没有多大用处理解和修改Linux应用程序源代码的
,其中90%似乎是用C语言编写的。我不想写革命性的新程序,我只是

喜欢看一些Linux应用程序的内幕,或者在这里和那里写一点

补丁以适应我的目的,并以这种方式,

甚至可能有一天会回馈给开源社区。


问题是,C看起来并不像新手友好的写的 br />
伪代码走进公园就是Python!变量声明,

指针,内存分配......我很害怕!我主要担心的是:在我的

限制的空闲时间(这将是晚上8点到8点)之前我是否可以为上述目的学习足够的C,这是否可行?
AM !;)或

我应该把它留给计算机科学专业的学生和全职的Linux

黑客吗?


我如果你能告诉我你自己在C -

的经历以及我是否应该或不应该从你的观点中学习它会很高兴


Hello everyone,

I''m using Linux since quite a while now and I''m happy to notice that I''m
beginning to "know my way round". I can write little bash, sed and awk
scripts to help me with my everyday tasks and I''ve also had a thorough
look at Python, which is ideally suited for helping me with my work,
which is linguistic research, i.e. mainly text processing.

However, this does not seem to be of much use in understanding and
modifying source code of Linux applications, 90% of which seem to be
written in C. I do not want to write revolutionary new programs, I''d just
like to look under the hood of some Linux apps and perhaps write a little
patch here and there to adapt them for my purposes and, in this way,
maybe even contribute back to the Open Source community one day.

The problem is, C doesn''t look at all like the newbie-friendly "written
pseudo-code" walk-in-the-park that is Python! Variable declarations,
pointers, memory allocations... I''m scared! My main concern is: Is it
even feasible for me to learn enough C for the above purposes in my
restricted spare time (which would be pretty much 8 PM till 8 AM! ;) or
should I leave that to the computer science students and full-time Linux
hackers?

I would be glad if you could tell me about your own experiences with C --
and whether I should or shouldn''t learn it from your point
of view.



购买或借用

的副本The C Programming Language

by Brian W. Kernighan和Dennis M. Ritchie。

Prentice Hall,Inc.,1988。

ISBN 0-13-110362-8(平装),0-13-110370-9(精装本。


它长272页,包括索引。在大约一个月内,你可以学到足够的资金成为一名C程序员而没有什么可羞耻的。

(如果你自己申请)。我不认为C比Python更困难,所以如果你对Python感到满意,你可以用C做同样的事情。

>

顺便说一句,你来对地方提问。

Buy or borrow a copy of
"The C Programming Language"
by Brian W. Kernighan and Dennis M. Ritchie.
Prentice Hall, Inc., 1988.
ISBN 0-13-110362-8 (paperback), 0-13-110370-9 (hardback).

It''s 272 pages long, including the index. In about one month you can
learn enough to become a C programmer with nothing to be ashamed of
(if you apply yourself). I don''t think C is more difficult than
Python so if you became comfortable in Python you will be able to do
the same thing with C.

By the way, you''ve come to the right place to ask questions.




" user923005" < dc ***** @ connx.comwrote in message

news:11 ********************** @ d57g2000hsg。 googlegr oups.com ...

"user923005" <dc*****@connx.comwrote in message
news:11**********************@d57g2000hsg.googlegr oups.com...

4月13日上午10点56分,Rehceb Rotkiv< reh ... @ no.spam.plzwrote:
On Apr 13, 10:56 am, Rehceb Rotkiv <reh...@no.spam.plzwrote:

>大家好,

我现在使用Linux了很长一段时间,我很高兴地注意到我是
开始知道我的方式。我可以写一些小的bash,sed和awk
脚本来帮助我完成日常任务,而且我已经彻底查看了Python,它非常适合帮助我完成我的工作,<这是语言研究,即主要是文本处理。然而,这似乎并没有太多用于理解和修改Linux应用程序的源代码,其中90%似乎是用C语言编写的。我不想写革命性的新程序,我只是想看看一些Linux应用程序的内幕并且可能会写一点点
补丁这里和那里根据我的目的调整它们,这样,有一天甚至可能会回馈给开源社区。

问题是,C没有看到所有这些都像新手友好的书面
伪代码走进公园就是Python!变量声明,指针,内存分配......我很害怕!我主要担心的是:在我的限制空闲时间(这将是晚上8点至早上8点!)或
我应该把它留给计算机科学专业的学生和全职的Linux黑客吗?

我很高兴你能告诉我你自己的C经历 -
以及我是否应该或不应该从你的观点来学习它。
>Hello everyone,

I''m using Linux since quite a while now and I''m happy to notice that I''m
beginning to "know my way round". I can write little bash, sed and awk
scripts to help me with my everyday tasks and I''ve also had a thorough
look at Python, which is ideally suited for helping me with my work,
which is linguistic research, i.e. mainly text processing.

However, this does not seem to be of much use in understanding and
modifying source code of Linux applications, 90% of which seem to be
written in C. I do not want to write revolutionary new programs, I''d just
like to look under the hood of some Linux apps and perhaps write a little
patch here and there to adapt them for my purposes and, in this way,
maybe even contribute back to the Open Source community one day.

The problem is, C doesn''t look at all like the newbie-friendly "written
pseudo-code" walk-in-the-park that is Python! Variable declarations,
pointers, memory allocations... I''m scared! My main concern is: Is it
even feasible for me to learn enough C for the above purposes in my
restricted spare time (which would be pretty much 8 PM till 8 AM! ;) or
should I leave that to the computer science students and full-time Linux
hackers?

I would be glad if you could tell me about your own experiences with C --
and whether I should or shouldn''t learn it from your point
of view.



购买或借用

的副本The C Programming Language

by Brian W. Kernighan和Dennis M. Ritchie。

Prentice Hall,Inc.,1988。

ISBN 0-13-110362-8(平装),0-13-110370-9(精装本。


它长272页,包括索引。在大约一个月内,你可以学到足够的资金成为一名C程序员而没有什么可羞耻的。

(如果你自己申请)。我不认为C比Python更困难,所以如果你对Python感到满意,你可以用C做同样的事情。

>

顺便说一句,你来对地方提问。


Buy or borrow a copy of
"The C Programming Language"
by Brian W. Kernighan and Dennis M. Ritchie.
Prentice Hall, Inc., 1988.
ISBN 0-13-110362-8 (paperback), 0-13-110370-9 (hardback).

It''s 272 pages long, including the index. In about one month you can
learn enough to become a C programmer with nothing to be ashamed of
(if you apply yourself). I don''t think C is more difficult than
Python so if you became comfortable in Python you will be able to do
the same thing with C.

By the way, you''ve come to the right place to ask questions.



自从你读它以来它是怎么回事?肯定超过一个月。

是的,我的意思是暗示一些东西。

How has it been since you read it? Certainly more than one month.
Yes I mean to imply something.


4月13日下午12:39,Barry < bar ... @ nullhighstream.netwrote:
On Apr 13, 12:39 pm, "Barry" <bar...@nullhighstream.netwrote:

" user923005" < dcor ... @ connx.com写信息


新闻:11 ********************** @ d57g2000hsg.googlegr oups.com ...

"user923005" <dcor...@connx.comwrote in message

news:11**********************@d57g2000hsg.googlegr oups.com...



4月13日上午10:56,Rehceb Rotkiv< reh ... @ no.spam.plzwrote:
On Apr 13, 10:56 am, Rehceb Rotkiv <reh...@no.spam.plzwrote:

大家好,
Hello everyone,


我已经使用Linux了很长一段时间了,我很高兴地注意到我已经开始知道我的方式了。我可以写一些小bash,sed和awk

脚本来帮助我完成日常任务,而且我还有一个彻底的b $ b看看Python,这是非常适合的帮助我完成工作,

这是语言研究,即主要是文本处理。
I''m using Linux since quite a while now and I''m happy to notice that I''m
beginning to "know my way round". I can write little bash, sed and awk
scripts to help me with my everyday tasks and I''ve also had a thorough
look at Python, which is ideally suited for helping me with my work,
which is linguistic research, i.e. mainly text processing.


但是,这似乎并没有太多用于理解和

修改Linux应用程序的源代码,其中90%似乎是用C语言写的
。我不想写革命性的新程序,我只会

喜欢看一些Linux应用程序的内幕,也许会在这里和那里写一点

补丁来适应我的目的,这样,

甚至可能有一天会回馈开源社区。
However, this does not seem to be of much use in understanding and
modifying source code of Linux applications, 90% of which seem to be
written in C. I do not want to write revolutionary new programs, I''d just
like to look under the hood of some Linux apps and perhaps write a little
patch here and there to adapt them for my purposes and, in this way,
maybe even contribute back to the Open Source community one day.


问题是,C看起来并不像新手友好的那样写的

伪代码走进公园就是Python!变量声明,

指针,内存分配......我很害怕!我主要担心的是:在我的

限制的空闲时间(这将是晚上8点到8点)之前我是否可以为上述目的学习足够的C,这是否可行?
AM !;)或

我应该把它留给计算机科学专业的学生和全职的Linux

黑客?
The problem is, C doesn''t look at all like the newbie-friendly "written
pseudo-code" walk-in-the-park that is Python! Variable declarations,
pointers, memory allocations... I''m scared! My main concern is: Is it
even feasible for me to learn enough C for the above purposes in my
restricted spare time (which would be pretty much 8 PM till 8 AM! ;) or
should I leave that to the computer science students and full-time Linux
hackers?


如果你能告诉我你自己的C经历,我会很高兴的。 br />
以及我是否应该或不应该从你的观点中学到它

的观点。
I would be glad if you could tell me about your own experiences with C --
and whether I should or shouldn''t learn it from your point
of view.


购买或借用

The C Programming Language

by Brian W. Kernighan和Dennis M. Ritchie。

Prentice Hall,Inc.,1988。

ISBN 0-13-110362-8(平装本), 0-13-110370-9(精装)。
Buy or borrow a copy of
"The C Programming Language"
by Brian W. Kernighan and Dennis M. Ritchie.
Prentice Hall, Inc., 1988.
ISBN 0-13-110362-8 (paperback), 0-13-110370-9 (hardback).


它长272页,包括索引。在大约一个月内,你可以学到足够的资金成为一名C程序员而没有什么可羞耻的。

(如果你自己申请)。我不认为C比Python更困难,所以如果你对Python感到满意,你就可以用C. $ b $做同样的事情。 b
It''s 272 pages long, including the index. In about one month you can
learn enough to become a C programmer with nothing to be ashamed of
(if you apply yourself). I don''t think C is more difficult than
Python so if you became comfortable in Python you will be able to do
the same thing with C.


顺便说一下,你来对地方提问。
By the way, you''ve come to the right place to ask questions.



自从你阅读以来它是怎么回事?


How has it been since you read it?



自从我阅读以来它没有改变。我不时地拿起它

(它在我办公桌的手臂范围内)并验证一切。

It has not changed since I read it. I pick it up from time to time
(it''s within arm''s reach at my desk) and verify things.


当然超过一个月。
Certainly more than one month.



我最近读过,如果这就是你所暗示的。我猜你的第一句话应该是你读了多长时间后它已经有多长时间了?

如果那是这个案例,自从我从封面上看到它已经过了20年

来掩盖。然而,如果你掌握了这本简单的书,厚度不到1/2英寸,那么你肯定会成为C语言的专家。在

的事实上,这是C的主要之处。它不是具有

兆字节功能需要花费数年才能学习的东西。

I have read from in recently, if that is what you are implying. I
guess your first sentence was supposed to be "How long has it been
since you read it?"
If that is the case, it has been 20 years since I read it from cover
to cover. And yet if you master that simple book, less than 1/2 inch
thick, then you will definitely be an expert in the C language. In
fact, that is the main beauty of C. It is not something with
megabytes of features that takes years to learn.


是的,我的意思是暗示某些东西。
Yes I mean to imply something.



我想如果你出来说出来会更好。然后我们

可以取笑你,我们都会笑得很开心。


是的,我也想暗示一些事情。

I guess it will be better if you just come out and say it. Then we
can make fun of you and we''ll all have a good belly-laugh.

Yes, I also meant to imply something.


这篇关于对于C或不对C,这就是问题......的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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