一个合理的项目。 [英] A reasonable project.

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

问题描述

你好。


我在过去6个月左右的时间里一直在学习C语言,写了一些小的
程序并阅读了几个关于语言的书籍。这意味着

我在指针,dymanic内存

分配/解除分配以及一般语言方面很合理。在任何情况下都足够了。

但不绝望。


然而我发现自己做的事情就像实施链表,树木

并编写通常附带

a * nix系统的小型,简单(和工作!)实用程序,看看我是否能够做到这一点。我想我在这里得到的是
,这是我最近做过的事情,虽然肯定让我更有经验,但不是'b $ b'在学习C时,我首先给予学习和快乐的感觉




总而言之,我编写的程序并非不。逼真的,并且没有任何实际的应用程序(因为那里已有更好的应用程序),并且

不能给我带来挑战感我真的很想。如果我有一个合理大小的项目可以挑战我,我会更喜欢,而且我仍然可以从中受益。我不是说它需要创新或者不能存在......但是我希望它足够大了

强迫我学习如何编写makefile,头文件的正确结构

和代码文件,以及一些关于真实世界中的工作方式。


我已经我一直在考虑写一个shell,但是我不确定是怎么参与的。这真的是(我还需要读一些我认为的POSIX论文吗?)。我已经在考虑使用线性代数库了,但是这也许会让人觉得有点人为,所以我不确定我是否会有很多从中受益?


这是我能想到的唯一两个想法。虽然这个

并不一定是正确的组合,但我希望有一些经验丰富的C程序员必然会在这里有想法,或者可能

回忆你在这个阶段你做了什么。


基本上任何建议,任何输入都非常非常受欢迎。


-

亲切的问候,

Robin

Hi there.

I''ve been learning C over the past 6 or so months, by writing small
programs and reading a couple of books on the language. This means that
I''m reasonable comfortable around pointers, dymanic memory
allocation/deallocation and the language in general. Enough to be catious
but not despair, in any case.

However I find myself doing things like implementing linked lists, trees
and writing small, simple (and working!) utilities that normally ship with
a *nix system to see if I''m able to do it. I guess that what I''m getting
at here, is that what I''ve been doing lately, while certainly makes me a
bit more experienced, doesn''t give the feeling of learning and joy I first
had when learning C.

All in all, I write programs that aren''t "realistic", and don''t have any
real applications (Because there are already better ones out there), and
can''t give me the sense of challenge I really want. I''d much prefer if I
had a project of some reasonable size that would challenge me, while still
being doable that I could benefit from. I''m not saying it needs to be
innovative or can''t already exist... But I want it to be big enough to
force me to learn how to write makefiles, proper structure of header files
and code files, and a bit about how things work in The Real World.

I''ve been thinking about writing a shell, but I''m not sure how involved
this really is (I''d also need to read some POSIX papers I think?). I''ve
been considering a linear algebra library, but this too would perhaps feel
a bit artificial, so I''m not sure if I would have a lot of benefit from it?

And that''s the only two ideas I''ve been able to come up with. While this
isn''t necessarily the right group for this, I was hoping that some of the
experienced C programmers that are bound to be here had ideas, or could
recollect what you did when you were at this stage.

Basically any suggestion, and any input is very, very welcome.

--
Kind regards,
Robin

推荐答案

Robin Kveland Hansen写道:

Robin Kveland Hansen wrote:


这是我能想到的唯一两个想法。虽然

这不一定是正确的组合,我希望

一些经验丰富的C程序员必然会在这里有

想法,或者可以回想一下你在这个阶段所做的事情。
And that''s the only two ideas I''ve been able to come up with. While
this isn''t necessarily the right group for this, I was hoping that
some of the experienced C programmers that are bound to be here had
ideas, or could recollect what you did when you were at this stage.



我的培训项目是文字冒险游戏(Zork风格)。这是一个对我感兴趣的主题,并且在编程的许多方面提供了广泛的经验。


我仍​​然有这个程序,并定期对其进行处理。


Brian

My training project was a text-adventure game (Zork style). It was a
subject which interested me, and provided broad experience in many
facets of programming.

I still have that program, and periodically work on it.


Brian


Robin K?¥veland Hansen写道:
Robin K?¥veland Hansen wrote:

>

总而言之,我编写的程序并不逼真,而且没有任何

真正的应用程序(因为那里已经有更好的应用程序),并且

不能给我一种我真正想要的挑战感。如果我有一个合理大小的项目可以挑战我,我会更喜欢,而且我仍然可以从中受益。我不是说它需要创新或者不能存在......但是我希望它足够大了

强迫我学习如何编写makefile,头文件的正确结构

和代码文件,以及一些关于真实世界中的工作方式。
>
All in all, I write programs that aren''t "realistic", and don''t have any
real applications (Because there are already better ones out there), and
can''t give me the sense of challenge I really want. I''d much prefer if I
had a project of some reasonable size that would challenge me, while still
being doable that I could benefit from. I''m not saying it needs to be
innovative or can''t already exist... But I want it to be big enough to
force me to learn how to write makefiles, proper structure of header files
and code files, and a bit about how things work in The Real World.



如果您使用的是Linux或开源UNIX变体,为什么不参与该项目?
?我不知道其他人,但是

OpenSolaris有社区成员可以处理的bug以及新的
项目。在操作系统上工作会让你感觉良好,并且可以通过编程获得优惠!


-

Ian Collins。

If you are using Linux or an opens source UNIX variant, why not get
involved with that project? I don''t know about the others, but
OpenSolaris has bugs community members can work on as well as new
projects. Working on an OS will expose you to good and the bowels of C
programming!

--
Ian Collins.


Robin K?¥veland Hansen写道:
Robin K?¥veland Hansen wrote:

[...]

总而言之,我编写的程序并不真实,并且没有任何实际应用程序(因为那里已有更好的应用程序),并且

不能给我一种我真正想要的挑战感。如果我有一个合理大小的项目可以挑战我,我会更喜欢,而且我仍然可以从中受益。我不是说它需要创新或者不能存在......但是我希望它足够大了

强迫我学习如何编写makefile,头文件的正确结构

和代码文件,以及一些关于真实世界中的工作原理。

[...]
[...]
All in all, I write programs that aren''t "realistic", and don''t have any
real applications (Because there are already better ones out there), and
can''t give me the sense of challenge I really want. I''d much prefer if I
had a project of some reasonable size that would challenge me, while still
being doable that I could benefit from. I''m not saying it needs to be
innovative or can''t already exist... But I want it to be big enough to
force me to learn how to write makefiles, proper structure of header files
and code files, and a bit about how things work in The Real World.
[...]



编写可以在某些活动中使用的程序

让您感兴趣。你喜欢填字游戏吗?写一个

程序,需要_O_US并建议TORUS和HORUS以及

BOGUS等等,然后可能会更加雄心勃勃并且需要检查

因为交叉词中不太可​​能发生冲突。

你是业余无线电操作员吗?编写一个程序来计算你的天线在各种频率下的辐射模式,以及

或许继续绘制结果图。你学习水文学吗?

写一个程序来关联山上的降雨量

和三天后下游的氧气读数。

简而言之,不要仅仅为锻炼运用你的编程技巧:用它们做某事,而某事物

将提供动力改善它们。


-

Eric Sosman
es ***** @ ieee-dot-org.inva 盖子


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

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