[Courses] Re : C Programming for Absolute Beginners, text book?
jim
jim at well.com
Thu Feb 9 05:17:50 UTC 2012
Carla,
Re C89, C99 (and C90 and C11), thanks for mentioning
these. I had no idea these specs existed. I'd only known of
"K&R C" and "ANSI C".
Briefly (I hope I can be brief), when I use a search
engine to look for "C programming C 89", the top-most link is
to a wikipedia page for ANSI C.
http://en.wikipedia.org/wiki/ANSI_C
The "89" part refers to the year, 1989. Best I can tell,
it's this spec people refer to when they talk about ANSI C.
There's a C90 that seems to have tweaked the C89 spec a
bit.
There's a C99 that "adopted the ISO/IEC 9899:1999 standard."
This seems to add a significant set of new features to the
language.
http://en.wikipedia.org/wiki/C99
C11, done in 2011, seems to have added more changes to the
C programming language specification. According to the wikipedia
page for C11,
http://en.wikipedia.org/wiki/C11_%28C_standard_revision%29
C11 is "the current standard for the C programming language."
On a more directly practical point, I have been assuming that
C Programming for Absolute Beginners will be an intro to ANSI C,
otherwise known as C89.
I can happily just eat what's given me, but I'm curious to
know if this course will cover C99 and/or C11 features.
You (and we) are certainly off to an exciting start.
More thanks,
jim
On Wed, 2012-02-08 at 20:38 -0800, Carla Schroder wrote:
> > > When you look in /etc/alternatives you see another cc > gcc links,
> > > and how C89
> > > and C99 standards support are handled:
> > >
> > > $ ls -l /etc/alternatives | grep cc
> > > lrwxrwxrwx 1 root root 12 Jun 2 2011 cc -> /usr/bin/gcc
> > > lrwxrwxrwx 1 root root 16 Jun 2 2011 c89 -> /usr/bin/c89-gcc
> > > lrwxrwxrwx 1 root root 16 Jun 2 2011 c99 -> /usr/bin/c99-gcc
> >
> > I do not have these files in my system, using of gcc v4.6 and fedora16.
> > $ ll /etc/alternatives/ | grep cc
> > $ gcc --version
> > gcc (GCC) 4.6.2 20111027 (Red Hat 4.6.2-1)
> > Copyright (C) 2011 Free Software Foundation, Inc.
> > This is free software; see the source for copying conditions. There is NO
> > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> >
> > Is that means my gcc does not have the compatibility with c89 and c99?
>
> > Best,
> > Chao
>
> I don't know, Chao, I'm running Debian so maybe Fedora packages it
> differently. Any Fedora users out there who can shed some light?
>
> best,
> Carla
> _______________________________________________
> Courses mailing list
> Courses at linuxchix.org
> http://mailman.linuxchix.org/mailman/listinfo/courses
More information about the Courses
mailing list