初学者问题 [英] beginner c question

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

问题描述

是的,


我正在阅读实用的c编程一书。继续我的

自己试图学习c。我知道编程的基础知识,但似乎有一些我不理解的特殊情况,并且不会在书中解释为
。这本书中包含的练习是我想要完成练习但是当他们失败时我不知道在哪里转到

之前我去了所有的威利-nilly和发布甚至非常短的代码在这里

希望有人能帮助我理解出了什么问题,我想我应该先询问是否b $ b先看看它是否是适当的或者如果我有其他可用的b $ b追索权。


非常感谢你的帮助。

解决方案



pencilneck写道:

是的,

我在读书实用的c编程并继续我自己试图学习c。我知道编程的基础知识,但似乎在c中有一些我不理解的特性,并且在书中没有解释。本书中包含的练习是我试图通过练习但是当它们失败时我不知道在哪里转向
并且在我全力以赴之前发布甚至非常短的代码在这里
希望有人能帮我理解出了什么问题,我想我应该首先询问是否合适,或者是否有其他可用的追索权。




听到它的声音,这是您提问的最佳位置。

发布之前,通过它是很好的以下链接:

http: //www.clc-wiki.net/wiki/Introdu...to_comp.lang.c
http://c-faq.com/

第二个应该是你问题的第一站。


另外,我建议您正确使用大写,并使用更多的标点符号ñ。我发现上面的段落非常难以理解(我实际上必须阅读

两次才能确保我正确理解你的问题)。

PS

Donnig对一些石棉内衣也是一个好主意。


pencilneck说:

是的,
我正在读这本书实用的c编程。


这是你的第一个错误。

我自己一起努力学习c。


这是你的第二个。

i了解编程的基础知识,


然后你想要: The C Programming Language,1988年第2版,Brian W

Kernighan和Dennis M Ritchie。这些绅士中的后者设计了

语言本身,两者都是非常清晰的作家。

之前我全都不知所措,在这里发布甚至非常短的代码<希望有人能帮助我理解出了什么问题,我想我应首先询问是否合适,或者是否有其他可用的追索权。



是的,你可以做到这一点。但请尽量帮助我们帮助您。您可以按照以下方式执行此操作:


1)请阅读常见问题解答,以防您的问题得到解答。很多

的问题。


2)请在comp.lang.c中坚持C问题 - 语言和

标准库在这里都是热门话题,但在/ this / newsgroup中我们不做

套接字,SQL接口,串行端口等等。这些东西还有其他

新闻组。


2)请提供尽可能多的信息,但是只要

可能,通过将您的程序减少到最小的再现

问题,但这是一个完整的程序。例如,如果你可以将程序减少到二十行,那么尽量不要在这里发布一个

1000行的程序

仍有同样的问题。

-

Richard Heathfield

Usenet是一个奇怪的地方 - dmr 29/7/1999
http://www.cpax.org.uk

电子邮件:rjh在上面的域名(但显然放弃了www)


感谢您的快速回复。


我会按照你们的建议去做。在浏览常见问题解答后,我将向此新闻组提交另一篇文章




yes,

i''m reading the book "practical c programming" and going along on my
own trying to learn c. i know the basics of programming, but there seem
to be some idiosyncracies in c that i don''t understand and aren''t
explained in the book. contained within the book are exercises i''m
trying to work through but when they fail i''m not sure where to turn to
and before i go all willy-nilly and post even very short code in here
hoping someone will help me understand what''s going wrong, i figured i
should ask first to see if it is appropriate or if there is some other
recourse available to me.

thank you very much for your help.

解决方案


pencilneck wrote:

yes,

i''m reading the book "practical c programming" and going along on my
own trying to learn c. i know the basics of programming, but there seem
to be some idiosyncracies in c that i don''t understand and aren''t
explained in the book. contained within the book are exercises i''m
trying to work through but when they fail i''m not sure where to turn to
and before i go all willy-nilly and post even very short code in here
hoping someone will help me understand what''s going wrong, i figured i
should ask first to see if it is appropriate or if there is some other
recourse available to me.



By the sound of it, this is the right place for your questions.
Before posting, it''s good to go through the following links:

http://www.clc-wiki.net/wiki/Introdu...to_comp.lang.c
http://c-faq.com/

The second one should really be your first stop for any question.

Also, I''d suggest you capitalise properly, and use more punctuation. I
found the paragraph above very hard to follow (I actually had to read
it twice to make sure I understand your question correctly).

PS
Donnig on some asbestos underware is also a good idea in these parts.


pencilneck said:

yes,

i''m reading the book "practical c programming"
That''s your first mistake.
and going along on my own trying to learn c.
And that''s your second.
i know the basics of programming,
Then you want: "The C Programming Language", 2nd edition, 1988, by Brian W
Kernighan and Dennis M Ritchie. The latter of these gentlemen designed the
language itself, and both are astoundingly clear writers.
and before i go all willy-nilly and post even very short code in here
hoping someone will help me understand what''s going wrong, i figured i
should ask first to see if it is appropriate or if there is some other
recourse available to me.



Yeah, you can do that. Please do try to help us to help you, though. You can
do this as follows:

1) please read the FAQs, in case your question is answered there. Many
questions are.

2) please stick to C questions here in comp.lang.c - the language and
standard library are both topical here, but in /this/ newsgroup we don''t do
sockets, SQL interfaces, serial ports, and so on. There are other
newsgroups for such things.

2) please provide as much information as necessary, but as little as
possible, by reducing your program to the smallest that reproduces the
problem, but which is a complete program. For example, try not to post a
1000-line program here if you can reduce the program to a twenty-liner that
still has the same problem.
--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at above domain (but drop the www, obviously)


Thank you both for your prompt replies.

I will do as you both suggest. After going over the FAQs I will submit
another post to this newsgroup.


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

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