头文件 [英] header files

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

问题描述

我只是想知道c。

我对这些头文件有一点疑问。

头文件只包含声明部分.. 。这些声明的

定义是什么?当我们运行它时,如何将

链接到我们的程序?我将不胜感激任何有用的

info..And我想提前感谢你

-ambika

Iam just trying to know "c".
And I have a small doubt about these header files.
The header files just contain the declaration part...Where is the
definition for these declarations written??And how does that get
linked to our program when we run it??I would appreciate any helpful
info..And I would like to thank you for that in advance
-ambika

推荐答案

在文章< bi ************* @ news.t-online.com> ;,

Martin Dickopp< ex ********* ****@zero-based.org>写道:
In article <bi*************@news.t-online.com>,
Martin Dickopp <ex*************@zero-based.org> wrote:
你的问题不是关于C / language /,这是关于comp.lang.c的内容,还是C / standard /,这就是comp.std。 c是关于。因此,这两组都是偏离主题的。请在专门用于系统的软件开发的新闻组中询问。
Your question is not about the C /language/, which is what comp.lang.c is
about, or the C /standard/, which is what comp.std.c is about. It is
therefore off-topic in both groups. Please ask in a newsgroup dedicated to
(software development on) your system.




我将他的问题解释为一般的好奇心,并非特定于任何

特定系统。什么是小组致力于如何计算机系统

通常工作?


-

Barry Margolin, ba************@level3.com
Level(3),Woburn,MA

***不要直接向我发送技术问题,将它们发布到新闻组。

请DON ''T复制跟进给我 - 我会假设它没有被发布到小组。



I interpreted his question as generic curiosity, not specific to any
particular system. What''s the group dedicated to "how computer systems
typically work"?

--
Barry Margolin, ba************@level3.com
Level(3), Woburn, MA
*** DON''T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON''T copy followups to me -- I''ll assume it wasn''t posted to the group.


Barry Margolin< ba ****** ******@level3.com>写道:
Barry Margolin <ba************@level3.com> writes:
文章< bi ************* @ news.t-online.com> ;,
Martin Dickopp< ex*************@zero-based.org>写道:
In article <bi*************@news.t-online.com>,
Martin Dickopp <ex*************@zero-based.org> wrote:
你的问题不是关于C / language /,这是关于comp.lang.c的内容,还是C / standard /,这就是comp.std。 c是关于。因此,这两组都是偏离主题的。请在专门用于系统的软件开发的新闻组中询问。
我将他的问题解释为通用的好奇心,并非特定于任何特定系统。
Your question is not about the C /language/, which is what comp.lang.c is
about, or the C /standard/, which is what comp.std.c is about. It is
therefore off-topic in both groups. Please ask in a newsgroup dedicated to
(software development on) your system.
I interpreted his question as generic curiosity, not specific to any
particular system.




我也是如此。但不同系统的答案是不同的,因此不是特定于任何特定系统的

答案是不可能的。

该小组致力于计算机系统通常如何工作?



So did I. But the answer is different for different systems, therefore an
answer which is not specific to any particular system is impossible.
What''s the group dedicated to "how computer systems typically work"?




这取决于系统。如果系统是Unix的变种,那么
comp.unix.programmer可能会回答OP的问题。系统是否是微软Windows,很可能是一个致力于该平台上的软件开发的团队退出,但我不能推荐任何一个,因为我不是

在该领域有任何经验或知识(在过去十年中没有使用过Microsoft

产品)。


当然,如果OP在单元格上使用了像C解释器那样模糊不清的东西,那么实际情况可能是该系统没有新闻组

存在...


Martin



It depends on the system. If the system is a variant of Unix,
comp.unix.programmer will likely answer the OP''s question. Is the system is
Microsoft Windows, it is highly likely that a group dedicated to software
development on that platform exits, but I cannnot recommend any as I don''t
have any experience or knowledge in that field (haven''t used a Microsoft
product in the last ten years).

Of course, if the OP uses something obscure like a C interpreter on a cell
phone, it might in fact be the case that no newsgroup for that system
exists...

Martin


文章< bf ************** ***********@posting.google.com> ,ambika

< in ******* @ yahoo.com>写道
In article <bf*************************@posting.google.com> , ambika
<in*******@yahoo.com> writes
我只是想知道c。
我对这些头文件有一点疑问。
头文件只包含声明部分......其中这些声明的定义是什么?当我们运行它时,它是如何与我们的程序相关联的?我将非常感谢任何有用的
信息......我要感谢你提前做到了
Iam just trying to know "c".
And I have a small doubt about these header files.
The header files just contain the declaration part...Where is the
definition for these declarations written??And how does that get
linked to our program when we run it??I would appreciate any helpful
info..And I would like to thank you for that in advance




它们由实现文件,目标文件或库提供

链接器访问以创建可执行文件。< br $>
-

Francis Glassborow ACCU

Southfield Rd

牛津OX4 1PA +44(0)1865 246490

所有意见都是我的,不代表任何组织的意见



They are provided by implementation files, object files or libraries
which the linker accesses to create the executable.
--
Francis Glassborow ACCU
64 Southfield Rd
Oxford OX4 1PA +44(0)1865 246490
All opinions are mine and do not represent those of any organisation


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

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