Reputation: 11785
1) What is the newest version of C language? 2) How is GCC complying to it? 3) For an old C programmer, what is the main differences of the new language?
I'm asking this because I learned these days (a new feature) that we can actually attribute values to a struct like:
struct t
{
int i;
char c;
} s;
s = (struct t){exponent, coefficient};
So I'm wondering about other things I might be missing when programming...
Thanks, Beco
Upvotes: 6
Views: 352
Reputation: 942109
The next standard is being worked on by the WG 14 group, their home page is here. The "News 2010-12-05" link takes you to a PDF of the current draft, labeled "201x". Paragraphs 6 and 7 highlight changes. Googling "+gcc +c201x" gives reasonable hits, nothing much to nail to a wall. This moves slow as a snail, C99 is not universally implemented yet either.
Upvotes: 1
Reputation: 41080
The last standard is C99. I don't use this standard because GCC does not yet fully support. (see here)
There is "C1X" but it is much too premature to talk about it.
For the new features in C99, see the following post :
What are the most useful new features in C99?
Upvotes: 4