2 ms·
C++ did it the other way around. It added C++ to a C compiler.
by WalterBright 4y ago
C++ did it the other way around. It added C++ to a C compiler.
- pencilguin 4y agoBut it didn't. In very few cases was a C compiler extended to compile C++. Instead, a C++ compiler just has to know how to compile C, and to link with C objects compiled separately.
- WalterBright 4y agoBut it did. I wrote the first native C++ compiler, by extending the Zortech C compiler.
- pencilguin 4y agoThat does not contradict my statement.
- Imperatorn 4y agoThat's a less correct description than what Walter gave