关于C90与C99的问题 [英] Questions about C90 vs C99

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

问题描述

嗨!


我正在尝试了解天气使用c89 / c90或c99而且已经来了

了解一些我会感兴趣的问题听到你的意见关于 的想法:


根据c90编写程序有什么好处? Dito为

c99?


根据c90而不是c99,要求某人编写程序

的缺点是什么? Dito为c99而不是c90?


在给出编程寄存器/作业时你会给出什么建议:根据c90写

程序或者根据c99编写程序?


据我所知,最好的(最好的是最便携的)东西是

写C-符合c89,c90和c99的程序。


C编译器如何正式认证遵守c89,c90和

c99?

BRs!

解决方案

< blockquote> dspfun写道:


根据c90编写程序有什么好处? Dito为

c99?



我在两个公共子集中编写C程序。


Brian


2007年12月10日星期一21:55:07 +0000,默认用户写道:


dspfun写道:


>根据c90编写程序有什么好处? Dito对于
c99?



我在两者的公共子集中编写C程序。



C90不是C99的子集吗?


" K.詹宁斯" < kj ******* @ resurgence.netwrote在

新闻:pa ********************* @ resurgence。 net:


C90不是C99的子集吗?



不完全,C99摆脱了隐式int和隐式函数

声明,例如,这是因为它们是反的 - 首先是




-
$ b $bTomásóhéilidhe


Hi!

I am trying to understand weather to use c89/c90 or c99 and have come
up with some questions that I would be interested in hearing your
thoughts about:

What is the advantage of writing a program according to c90? Dito for
c99?

What is the disadvantage of asking someone to write a program
according to c90 instead of c99? Dito for "c99 instead of c90"?

What do you recommend when giving programming assignmnts/jobs: "write
the program according to c90" or "write the program according c99"?

As far as I understand the best (best as being most portable) thing is
to write C-programs that comply with c89, c90 and c99.

How are C-compilers "officially certified" to comply with c89, c90 and
c99?

BRs!

解决方案

dspfun wrote:

What is the advantage of writing a program according to c90? Dito for
c99?

I write C programs in the common subset of the two.


Brian


On Mon, 10 Dec 2007 21:55:07 +0000, Default User wrote:

dspfun wrote:

>What is the advantage of writing a program according to c90? Dito for
c99?


I write C programs in the common subset of the two.

Is C90 not a subset of C99?


"K. Jennings" <kj*******@resurgence.netwrote in
news:pa*********************@resurgence.net:

Is C90 not a subset of C99?


Not entirely, C99 got rid of implicit int and also implicit function
declarations for instance, and that''s because they were anti-features in
the first place.

--
Tomás ó héilidhe


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

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