0

Where can i see all differences between C++11 and C99?

I think that C++98 and C++03 based on C89 / C90. Is there any differences between them? And what about C++11 and C99? Some features from C99 were added to C++11, but others not (like compound literals, VLAs, etc). Can i see complete list of this changes or not?

4

3 回答 3

2

C++ 标准有附录 C,其中列出了 C 和 C++ 之间的差异。它针对 C++11 进行了更新,它确实通过引用包含了 C99 的大部分内容。附录不完整;它触及了主要差异。

于 2012-09-30T16:45:39.753 回答
1

我认为这次采访将对您的目的有用:

C 语言家族:Dennis Ritchie、Bjarne Stroustrup 和 James Gosling 访谈

于 2012-09-30T17:10:01.447 回答
0

说法I think that C++98 and C++03 based on C89 / C90.是错误的。Stroustrup 在 80 年代中期创建了 C++。从那时起,这两条线出现了分歧。他们在互相影响。但不止于此。2 个不同的团队正在开发这 2 个标准。他们之间没有义务。

于 2012-09-30T20:25:54.120 回答