Hmm, I'm still having problems:
I'm using Dev-Cpp in which I have created C project with the following files:
Implementation file Test_Cpp.cpp:
extern "C" int test_cpp(int);
int test_cpp(int x)
I'm getting this error on second line:
3 C:\Dev-Cpp\C_Cpp_Dev\Test_Cpp.h syntax error before string constant
What is the possible reason for this? It's like compiler doesn't recognize extern keyword...
P.S. Test_Cpp.cpp is already compiled with C++ compiler.