Question
Call C++ function from C file
I would like to call C++ function from C file. How to do that.
I have C++ function call Cpp_func() in test.cpp file. In test.h file, I declare as extern "C" Cpp_func(void); This gives me error that expected identifier.