3 ms·
Certain people would still like to compile this as a "CPP" file, examples are lua - it's in "C", but it's compilable as C++ too (some people then are more or le
by malkia 14y ago
Certain people would still like to compile this as a "CPP" file, examples are lua - it's in "C", but it's compilable as C++ too (some people then are more or less strict whether the function interfaces should be extern"C" or not).
Ayway, not that important... But there is a whole lot of people that like amalgated sources (typical examples - juce, freetype2, lua, sqlite) where you include in one or two files all the rest and they compile fine.
- cmccabe 14y agoLuckily for you, you can link objects files produced by the C compiler with object files produced by the C++ compiler. Crisis averted.
- deleted 14y ago[deleted]