Maybe the name of the function in .c file is different.
Or, if you are trying to use the function in .cpp files, then try this form of #include (in .cpp files only):
hi, I am trying to convert some code from c++ to pure c, or at least most of it
When I had things in c++ I could make a .h file, then a .cpp file and simply type the implementation of functions declared in the .h in the .cpp; I did not have to edit linker files or anything like that, and the ide would keep track of it all, and I had no linker problems even if a function was not a member of a class
Now I have a .h, but when I try to use a function defined in the .c, which is declared in the .h, I get a LNK2019 unresolved external symbol "void __cdecl LC_iniciar_trace(char const *)" (?LC_iniciar_trace@@YAXPBD@Z) referenced in function _wWinMain@16 LC 1 C:\Users\xxxxx\Documents\Proyectos\plataforma multimedia c puro v1\Visual Studio\LC 1\LC 1.obj
Why is in not able to see the function implemented in a .c file in the same project? If I make a syntax error in the function the compiler would give an error, so is not as if the compiler does not see the .c file or anything like that