Linker error when calling a C function from C++ code in different VS2010 project
The question is for VStudio 2010, but applies to any version. In C or C++, considering that a module may consist of multiple objects, every object should be clearly delimited. Also, every object (.c or .cpp file) should have its own header file. So, you should have one header file and one .c(xx) file for … Read more