What you have there is a mixing of C++ and C code. C++ is not just an extension of C, it is a different language for the most part. It has different standards and much better ways of doing things, plus all kinds of different features C doesn't have.
What you have there is a mixing of C++ and C code. C++ is not just an extension of C, it is a different language for the most part. It has different standards and much better ways of doing things, plus all kinds of different features C doesn't have.
Sic vis pacum para bellum. If you want peace, prepare for war.