I have seen so many threads discussions refered to C89 and C99 every
so often, but I've been confused about what are the differences
between those specifications ? and what are the C89-conforming C
compilers, and what are the C99-conforming ones ? (let's say, Visual
C, Borland C, GNU C, Watcom C, LCC,etc) Can somebody point that out
for me, or provide me some pages to visit on the net about that topic
? thanx. 3 4401
In <ad**************************@posting.google.com > ru****@sohu.com (sugaray) writes: I have seen so many threads discussions refered to C89 and C99 every so often, but I've been confused about what are the differences between those specifications ?
You can find a reasonable summary at the beginning of N869, the freely
downloadable last public draft of C99. Of course, this assumes
familiarity with C89, as described by K&R2 and most other modern C
tutorial books.
and what are the C89-conforming C compilers, and what are the C99-conforming ones ? (let's say, Visual C, Borland C, GNU C, Watcom C, LCC,etc)
None of the popular implementations is C99 conforming, but some are
trying harder than the others. All of them are C89 conforming and may
support certain C99 features when invoked in extended mode. From your
list, gcc probably comes closest when invoked in C99 mode (which is not
really C99 mode, but as close to C99 as the compiler can currently get).
Can somebody point that out for me, or provide me some pages to visit on the net about that topic
If you're really interested in C99, you have to read N869 or even
obtain an electronic copy of the final version from ANSI, for $18.
A more readable (but possibly less accurate) alternative should be
the fifth edition of Harbison & Steele, which claims to cover C99.
Dan
--
Dan Pop
DESY Zeuthen, RZ group
Email: Da*****@ifh.de
in comp.lang.c i read: I have seen so many threads discussions refered to C89 and C99 every so often, but I've been confused about what are the differences between those specifications ?
c89 is short-hand for the (original) c standard as adopted by ansi in 1989
(which was adopted by the iso in 1990 so sometimes you'll see c90), while
c99 stands for the (revised) standard which was adopted by the iso in 1999.
there are numerous differences between c89 and c99, such as increased
translation minimum limits (longer variables must be supported), variable-
length arrays, complex and imaginary number support -- the list is
substantial, and is in the forward of the c99 standard.
and what are the C89-conforming C compilers, and what are the C99-conforming ones ? (let's say, Visual C, Borland C, GNU C, Watcom C, LCC,etc)
the primary source of that information are the claims made by the authors
of those implementations. some are widely known to conform to one or
another of the standards, so often you can obtain a response to this sort
of query, but it would not be authoritative. most conform to c89 but have
extensions some of which conform to the c99 semantics. if you must be
certain then only conformance testing would be sufficient, and naturally it
would be limited to the specifics tested (options, library versions, etc.).
--
a signature ru****@sohu.com (sugaray) wrote in message news:<ad**************************@posting.google. com>... I have seen so many threads discussions refered to C89 and C99 every so often, but I've been confused about what are the differences between those specifications ? and what are the C89-conforming C compilers, and what are the C99-conforming ones ? (let's say, Visual C, Borland C, GNU C, Watcom C, LCC,etc) Can somebody point that out for me, or provide me some pages to visit on the net about that topic ? thanx.
I hope this will help you.
<http://en2.wikipedia.org/wiki/C_programming_language>
--
"I don't believe in the God who doesn't give me food, but shows me
heaven!" -- Swami Vivekanandha http://guideme.itgo.com/atozofc/ - "A to Z of C" Project
Email: rrjanbiah-at-Y!com This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: thecrow |
last post by:
Alright, what the hell is going on here?
In the following code, I expect the printed result to be:
DEBUG: frank's last name is burns.
Instead, what I get is:
DEBUG: frank's last name is...
|
by: Brandon J. Van Every |
last post by:
What's better about Ruby than Python? I'm sure there's something. What is
it?
This is not a troll. I'm language shopping and I want people's answers. I
don't know beans about Ruby or have...
|
by: mike420 |
last post by:
I think everyone who used Python will agree that its syntax is
the best thing going for it. It is very readable and easy
for everyone to learn. But, Python does not a have very good
macro...
|
by: Reed L. O'Brien |
last post by:
I see rotor was removed for 2.4 and the docs say use an AES module
provided separately... Is there a standard module that works alike or
an AES module that works alike but with better encryption?...
|
by: Philippe C. Martin |
last post by:
I apologize in advance for launching this post but I might get enlightment
somehow (PS: I am _very_ agnostic ;-).
- 1) I do not consider my intelligence/education above average
- 2) I am very...
| |
by: Dario |
last post by:
The following simple program behaves differently
in Windows and Linux .
#include <stdexcept>
#include <iostream>
#include <string>
using namespace std;
class LogicError : public logic_error {...
|
by: Sarah Tanembaum |
last post by:
Beside its an opensource and supported by community, what's the fundamental
differences between PostgreSQL and those high-price commercial database (and
some are bloated such as Oracle) from...
|
by: Neal |
last post by:
Patrick Griffiths weighs in on the CSS vs table layout debate in his blog
entry "Tables my ass" - http://www.htmldog.com/ptg/archives/000049.php . A
quite good article.
|
by: typingcat |
last post by:
First of all, I'm an Asian and I need to input Japanese, Korean and so
on. I've tried many PHP IDEs today, but almost non of them supported
Unicode (UTF-8) file.
I've found that the only Unicode...
|
by: Midnight Java Junkie |
last post by:
Dear Colleagues:
I feel that the dumbest questions are those that are never asked. I have
been given the opportunity to get into .NET. Our organization has a
subscription with Microsoft that...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |