On Sat, 12 Jun 2004 01:48:23 +0100, "kUfa" <po*****@essi.fr> wrote in
comp.lang.c:
Hi there,
I was wondering.. what s the latest official version of C. Is it the ISO 9899,
with the 2001's modifications?
Moreover one of my friend was asked during an interview, which new C
functionality you don't have in C++. Weird one.
There's a lot of C functionality in C99 that is not in C++. Just a
few off the top of my head:
- variable length arrays
- restrict type qualifier
- new meaning for static with array parameters to functions
- signed and unsigned long long and <stdint.h> typedefs
- functions to control floating point environment
While you can implement a C99 compatible <stdint.h> for any conforming
C++ compiler (excluding long long), you can't provide any of the
others unless using some non-standard compiler extensions.
There are other features that could be added to this list as well.
--
Jack Klein
Home:
http://JK-Technology.Com
FAQs for
comp.lang.c
http://www.eskimo.com/~scs/C-faq/top.html
comp.lang.c++
http://www.parashift.com/c++-faq-lite/
alt.comp.lang.learn.c-c++
http://www.contrib.andrew.cmu.edu/~a...FAQ-acllc.html