0

If i mix C code in C++ source file,will the performance of the code get affected?

11th Oct 2017, 9:26 AM
suryapoojary
suryapoojary - avatar
2 odpowiedzi
+ 2
C++ is still technically a superset of C. Much of C++'s standard library uses C standard library functions under the hood, and many other libraries written in C are used in C++. Since they are both compiled down to native machine code, there is rarely a case will there be any sort of performance loss, especially if they are being compiled by the same compiler.
11th Oct 2017, 9:46 AM
aklex
aklex - avatar
0
My friend has asked me to stop learning C++ as it is complex and old school - "not used anymore" and stick to Java as it has more job opportunities ,is this true ? ..C++ is complex but has lot of power.
11th Oct 2017, 9:49 AM
suryapoojary
suryapoojary - avatar