4 ms·
C++ is no longer backwards compatible with modern C.
by rwaksmunski 5y ago
C++ is no longer backwards compatible with modern C.
- kazinator 5y agoC++ compatibility has improved. E.g. I've noticed that C++20 has designated initializers for struct members, which were introduced in C99. So now if you're writing C that has to compile as C++, you can use C99 designated initializers, if you're OK with requiring C++20.