On 07/11/2010 06:16 PM, alan alan wrote:
Actually I dont know why people are saying, Turbo C complier is not
standard and outadted? why it's so? Does it have relation with ANSI C?
The C language was standardised by the American National Standards
institute (ANSI). This version is called "ANSI C". This standard was
later adopted by the International Organisation for Standardization
(ISO) in 1990. This version is known as C90.
The latest standard of the C programming language was released in 1999
by ISO and is popularly known as C99 - http://en.wikipedia.org/wiki/C99
Turbo C (the IDE and compiler from Borland) was released before the
language was standardised. It supports many constructs and programming
practices that have been obsoleted by the subsequent standards.
Similarly, it doesn't support lots of useful features that the new
language standard introduced. Further, Turbo C was developed for DOS and
encourages the programmer to use several non-standard functions
(remember conio.h?).
Turbo C is ancient and obsolete. I'd strongly recommend switching to a
modern standards-compliant compiler like gcc.
And if you plan to program in C++, then TurboC++ is even worse. You
can't use templates, most of the Standard Library, namespaces and the
like. What's the fun in programming with C++ without any of that?
There are very few compilers that claim full C99 compliance as many
features of the language are difficult to implement, little known or
considered to be of little practical use. (The same applies for C++).
Links:
GCC compliance status for C99 - http://gcc.gnu.org/c99status.html
http://en.wikipedia.org/wiki/C99
regards,
Syam
--
"Freedom is the only law".
"Freedom Unplugged"
http://www.ilug-tvm.org
You received this message because you are subscribed to the Google
Groups "ilug-tvm" group.
To control your subscription visit
http://groups.google.co.in/group/ilug-tvm/subscribe
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For details visit the google group page:
http://groups.google.com/group/ilug-tvm?hl=en