主要 [英] main

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

问题描述

有谁知道定义主要功能的文件?


谢谢

解决方案

In文章< f5 ********************************** @ r60g2000hsc。 googlegroups.com>,

nick< cu *********** @ aol.comwrote:


> ;有谁知道主函数定义的文件?



main()可以在任何(一个)文件中定义,编译器将接受
接受为C源代码。完全可以接受

例如在e5d248f.c中定义main()或其他一些

任意文件名。


对于程序员来说,通常是在源文件中定义main()

文件,其基本名称(不带后缀)与

最终可执行文件名相同(不含它的后缀),但是没有

意味着要求,甚至不足以被视为

半标准。

-

我们遗憾地宣布,亚毫巴的分辨率生物超维

等离子体空间聚合成像已被推迟到发布之前

of Windows Vista SP2。


" nick" < cu *********** @ aol.comschrieb im Newsbeitrag

新闻:f5 ******************* *************** @ r60g2000 hsc.googlegroups.com ...


有谁知道主要功能所在的文件被定义为?



在您的实施的启动代码中。


再见,Jojo


" Joachim Schmitz" < no ********* @ schmitz-digital.deschrieb im Newsbeitrag

news:fk ********** @ online.de ...


" nick" < cu *********** @ aol.comschrieb im Newsbeitrag

新闻:f5 ******************* *************** @ r60g2000 hsc.googlegroups.com ...


>有谁知道文件所在的位置主要功能是定义?



在您的实施的启动代码中。



废话,它是从那里调用的,你必须自己定义它。


再见,Jojo


Does anyone know the file where the main function is defined?

thanks

解决方案

In article <f5**********************************@r60g2000hsc. googlegroups.com>,
nick <cu***********@aol.comwrote:

>Does anyone know the file where the main function is defined?

main() can be defined in any (one) file that your compiler will
accept as being C source code. It would be perfectly acceptable
for example to define main() in e5d248f.c or some other
arbitrary filename.

It is -common- for programmers to define main() in a source
file whose base name (without the suffix) is the same as the
eventual executable name (without its suffix), but that is by no
means a requirement and is not even common enough to be considered
"semi-standard".
--
We regret to announce that sub-millibarn resolution bio-hyperdimensional
plasmatic space polyimaging has been delayed until the release
of Windows Vista SP2.


"nick" <cu***********@aol.comschrieb im Newsbeitrag
news:f5**********************************@r60g2000 hsc.googlegroups.com...

Does anyone know the file where the main function is defined?

In the startup code of your implementation.

Bye, Jojo


"Joachim Schmitz" <no*********@schmitz-digital.deschrieb im Newsbeitrag
news:fk**********@online.de...

"nick" <cu***********@aol.comschrieb im Newsbeitrag
news:f5**********************************@r60g2000 hsc.googlegroups.com...

>Does anyone know the file where the main function is defined?

In the startup code of your implementation.

nonsense, it''s called from there, you have to define it yourself.

Bye, Jojo


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

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