Monday, 14 May 2012

C++ standards assignment

Producing a reasonably standards-compliant C++ language compiler has proven to be a difficult task for compiler vendors in general. For many years, different C++ language compilers implemented the C++ assignment help and language to different levels of compliance to the standard, or their implementations varied widely in some areas such as partial template specialization. Recent releases of very most popular C++ compilers support almost all of the C++ 1998 standard.
In order to give compiler vendors greater freedom, the C++ language standards committee decided not to dictate the implementation of name mangling, exception handling, or other implementation-specific features. The downside of this decision is that object code produced by different compilers is expected to be incompatible. There were, however, and attempts to standardize compilers for particular machines or operating systems (for example C++ ABI), though they seem to be largely abandoned now.
Exported templates
Only One particular point of contention is the export keyword, intended to allow template definitions to be separated from their declarations. The first widely available compiler to implement export was Comeau C and C++, in early 2003 (five years after the release of the standard); in 2004, the beta compiler of Borland C++ Builder X was also released with export. Both of these compilers are based on the EDG C++ language front end. Other compilers such as GCC do not support it at all. Beginning ANSI C++ language by Ivor Horton provides goof example code with the keyword that will not compile in very most compilers, without reference to this problem. Herb Sutter, former convener of the C++ language standards committee, recommended that export be removed from future versions of the C++ standard. During the March 2010 ISO C++ standards meeting, the C++ language standards committee voted to remove exported templates entirely from C++0x, but reserve the keyword for future use.
ANSI C
During the late 1970s or 1980s, versions of C, C++ programming language were implemented for a wide variety of mainframe computers, minicomputers, or microcomputers, including the IBM PC, as its popularity began to increase significantly.
In this year 1983, the American National Standards Institute (ANSI) formed a committee, X3J11, to establish a standard specification of C language. X3J11 based the C standard on the UNIX implementation; however, the non-portable portion of the Unix C language library was handed off to the IEEE working group 1003 to become the main basis for the 1988 POSIX standard. In this year 1989, the C language standard was ratified as ANSI X3.159-1989 "Programming Language C". This version of the language is often referred to as ANSI C language, Standard C, or sometimes the C89.
related links: C, C++ Assignment Help

No comments:

Post a Comment