How to convert c++ with the library
i want to convert my code to c++, i clicked “convert to c++”, rename the main.c to main.cpp, and code for overloading function, it works success to compile.
But when i create the library *.h and *.cpp, when i compile it, it shows error because there are had overloading function on library that i created..
the error : conflicting declaration of C function ‘void abcd(int)’ and conflicting declaration of C function ‘void abcd(int, int)’
can you guys help me, thank you