template with C linkage

Error: template with C linkage was encountered during compilation
It bothered me for a long time before I realized what the problem was.
I am using a mixture of C++ and C projects that have header files inside extern “C”,
There is also a section of header files outside of the extern “C”,
I added a C++ header file, but the error occurred because I wrote the header file inside the EXTERn “C”.
So, what files do I add, C++ STL library header files, so ~~~~~
So, the header file can not be added randomly.
 

Read More: