|
||||||
| C and C++ C and C++ forum for discussing all forms of C except for C#. These languages are powerful low level languages used for creating Operating Systems, Device Drivers, compilers and much more. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||||
|
How come there are so many different compiles for C++? Also, it seems like you need to code differently for different compilers. One time I wrote a code that worked on one compiler and not on another. Why is that? Wouldn't that cause a lot of problems when sharing programs?
__________________
Funny Stories and Humorous Pictures |
| Sponsored Links |
|
|
|
|||||
|
In addition, C++ is not a fixed or simple object. C++ started as a private project in Bell Labs, then it became an ISO/ANSI standard. It has been through a few revisions since then. AFTER a standard is set, it is up to the various compiler creators to adjust the compiler to implement the various elements of the standard are implemented.
One thing that I ran into was when something that was legal C++ became illegal. I had an older compiler that would run the (newly) illegal code, and a newer one that wouldn't. When the standard changes, you have to be careful about updating the compiler, as it could break TONS of old code that used to be legal.
__________________
CodeCall Blog | CodeCall Wiki | Shareware | Linux Forum Programming is a branch of mathematics. |
|
|||
|
C++ is huge. There was an article on Reddit today about how the C++ template language is Turing equivalent by accident*. There aren't any compilers that are fully compliant to the standard AFAIK but I might be wrong.
There aren't any fully compatible C99 compilers yet and C99 is a far less complex beast than C++. *this simply means it can solve any finite algorithm that can be defined and thus is able to solve the problem set of any other language in existence. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| C++ Compiler | CPlusPlus | C and C++ | 5 | 08-20-2007 12:56 AM |
| asking for opensource compiler. | fire exit | General Programming | 1 | 08-02-2007 08:46 AM |
| create e-book compiler | pcdctr | General Programming | 8 | 05-23-2007 07:26 AM |
| which compiler | n707 | C and C++ | 4 | 04-14-2007 01:28 PM |
| DoneEx XCell Compiler 1.5.3 | Kernel | Software Development Tools | 0 | 10-01-2006 09:57 AM |
| WingedPanther | ........ | 2753.6 |
| Xav | ........ | 2704 |
| Brandon W | ........ | 1702.32 |
| John | ........ | 1207.73 |
| marwex89 | ........ | 1175.24 |
| morefood2001 | ........ | 966.05 |
| dcs | ........ | 655.75 |
| Steve.L | ........ | 475.59 |
| orjan | ........ | 418.58 |
| Aereshaa | ........ | 383.54 |