ANSI C? [英] ANSI C?
问题描述
以下程序是否被视为ANSI C?
#include< foo / foo_bar.h / *原型空格条(无效)* /
int main(无效)
{
bar();
返回0;
}
谢谢
-
比利
Is the following program considered ANSI C?
#include <foo/foo_bar.h/* has prototype void bar(void) */
int main(void)
{
bar();
return 0;
}
Thanks
--
Billy
推荐答案
Billy Bong写道:
Billy Bong wrote:
以下程序是否被认为是ANSI C?
Is the following program considered ANSI C?
为什么不应该不是吗?
Why shouldn''t it be?
#include< foo / foo_bar.h / * has prototype void bar(void)* /
int main(void)
{
bar();
返回0;
}
谢谢
#include <foo/foo_bar.h/* has prototype void bar(void) */
int main(void)
{
bar();
return 0;
}
Thanks
-
Ian Collins。
--
Ian Collins.
Billy Bong< bi ********** @ aol.comwrites:
Billy Bong <bi**********@aol.comwrites:
以下程序是否被视为ANSI C?
#include< foo / foo _bar.h / *有原型void bar(无效)* /
int main(无效)
{
bar();
返回0;
}
谢谢
Is the following program considered ANSI C?
#include <foo/foo_bar.h/* has prototype void bar(void) */
int main(void)
{
bar();
return 0;
}
Thanks
什么是 ;感谢和QUOT;吗?
What does "Thanks" do?
" Billy Bong" < bi ********** @ aol.comwrote in message
"Billy Bong" <bi**********@aol.comwrote in message
以下程序是否被视为ANSI C?
>
#include< foo / foo_bar.h / *有原型void bar(无效)* /
int main(无效)
{
bar();
返回0;
}
Is the following program considered ANSI C?
#include <foo/foo_bar.h/* has prototype void bar(void) */
int main(void)
{
bar();
return 0;
}
取决于你的意思。
语言本身几乎肯定是ANSI C89。但是你是
包括一个非标准的标题。 bar()本身可以用任何
语言实现,它提供C风格链接的设施,可能是也可能不是b $ b b便携式。
>
-
免费游戏和编程好东西。
http://www.personal.leeds.ac.uk/~bgy1mm
Depends what you mean.
The language itself will almost certainly be ANSI C89. However you are
including a non-standard header. bar() itself could be implemented in any
language that provides facilities for C-style linking, and may or may not be
portable.
--
Free games and programming goodies.
http://www.personal.leeds.ac.uk/~bgy1mm
这篇关于ANSI C?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!