Mixing C/C++ code

From time to time you may need to borrow library written in C and compile them with your C++ program. You may notice that simply including the C headers and compiling them will result in error, citing improper references to the function. The reason is due to C++ name mangling mechanism which tries to generate […]

A personal dev blog by C.J. Ng