学习过程 [英] Learning process

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

问题描述

嗨!

我正在教自己C编程语言。问题是

我不知道接下来该做什么。我知道文件I / O,指针,函数和

之类的。我不知道如何为大型项目制作.h文件,Makefile或其他任何东西

。我应该学习如何做到这一点,插座,

GTK,诅咒还是什么?


-

(o_困惑,

(/)_ Karsten Kvistad

Hi!
I''m currently teaching myself the C programming language. The problem is
I don''t know what to do next. I know file I/O, pointers, functions and
the like. I do not know how to make .h files, Makefiles or anything else
required for large projects. Should I learn how to do this, sockets,
GTK, curses or what?

--
(o_ Confused,
(/)_ Karsten Kvistad

推荐答案

Karsten Kvistad< karsten-k.broadpark@no>潦草地写下以下内容:
Karsten Kvistad <karsten-k.broadpark@no> scribbled the following:
嗨!
我正在教自己C编程语言。问题是
我不知道下一步该做什么。我知道文件I / O,指针,函数和
之类的。我不知道如何制作大型项目所需的.h文件,Makefile或其他任何东西。我应该学习如何做到这一点,插座, GTK,诅咒还是什么?
Hi!
I''m currently teaching myself the C programming language. The problem is
I don''t know what to do next. I know file I/O, pointers, functions and
the like. I do not know how to make .h files, Makefiles or anything else
required for large projects. Should I learn how to do this, sockets,
GTK, curses or what?




嗯,.h文件在语法上与.c文件相同。唯一的东西

通常是不同的是.h文件不应该包含任何实际的

可执行代码,只有定义。

Makefiles实际上并不是一个C概念.Make是一个编译工具或者

建立刚刚什么都有。我用它来制作LaTeX文档。你不需要使用make来编译C.特别是单个源文件

程序可以通过一次编译调用编译得很好。

如果我是你,我会首先查看.h文件和makefile。套接字,GTK

和curses不是C的一部分,它们是特定于平台的附加组件。在解决这些问题之前理解语言本身很重要。


-

/ - Joona Palaste( pa*****@cc.helsinki.fi)-------------芬兰-------- \

\-- < a rel =nofollowhref =http://www.helsinki.fi/~palastetarget =_ blank> http://www.helsinki.fi/~palaste ------ ---------------规则! -------- /

我在撒谎。

- Anon



Well, .h files are syntactically identical to .c files. The only thing
that is usually different is that .h files should not contain any actual
executable code, only definitions.
Makefiles are not really a C concept. Make is a tool for compiling or
building just about anything. I''ve used it to make LaTeX documents. You
don''t have to use make to compile C. Especially single source file
programs can be compiled just fine with one compiler call.
If I were you I''d look into .h files and makefiles first. Sockets, GTK
and curses are not part of C, they''re platform-specific add-ons. It''s
important to understand the language itself before tackling those.

--
/-- Joona Palaste (pa*****@cc.helsinki.fi) ------------- Finland --------\
\-- http://www.helsinki.fi/~palaste --------------------- rules! --------/
"I am lying."
- Anon


Karsten Kvistad写道:
Karsten Kvistad wrote:
嗨!
我正在教自己C编程语言。问题是
我不知道接下来该做什么。


你可能想要做的一件事就是检查你的老师

是否知道他在说什么。 :-)


这个新闻组可以帮助你做到这一点。

我知道文件I / O,指针,函数和
之类的。我不知道如何制作.h文件,
Hi!
I''m currently teaching myself the C programming language. The problem is
I don''t know what to do next.
One thing you might want to do before too long is to check that your teacher
knew what he was talking about. :-)

This newsgroup can help you do that.
I know file I/O, pointers, functions and
the like. I do not know how to make .h files,




大多数人都使用文本编辑器。更重要的是你要发现:什么/是/标题?


答案:标题是模块的接口描述。既然你知道

那么,你认为什么属于标题?


-

Richard Heathfield: bi **** @ eton.powernet.co.uk

" Usenet is a奇怪的地方。 - Dennis M Ritchie,1999年7月29日。

C FAQ: http://www.eskimo.com/~scs/C-faq/top.html

K& R答案,C书等:< a rel =nofollowhref =http://users.powernet.co.uk/etontarget =_ blank> http://users.powernet.co.uk/eton



Most people use a text editor for this. More importantly for you to
discover: what /is/ a header?

Answer: a header is an interface description for a module. Now that you know
that, what do you think belongs in a header?

--
Richard Heathfield : bi****@eton.powernet.co.uk
"Usenet is a strange place." - Dennis M Ritchie, 29 July 1999.
C FAQ: http://www.eskimo.com/~scs/C-faq/top.html
K&R answers, C books, etc: http://users.powernet.co.uk/eton


Richard Heathfield写道:
Richard Heathfield writes:
答案:标题是模块的接口描述。现在你知道了,你认为你在标题中属于什么?
Answer: a header is an interface description for a module. Now that you know that, what do you think belongs in a header?




我认为说标题经常包含会更准确

模块的接口描述。



I think it would be more accurate to say "A header often contains an
interface description for a module".


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

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