Multiple definitions of functions in c

0

I'm doing a program that uses several functions in separate .h files, however, I've been facing the problem of multiple function definitions because of some includes. I used the code below to instruct the preprocessor to handle this:

#ifndef _HEADER_H_
#define _HEADER_H_
........
........
#endif

However, it does not seem to be working and the linker is creating ambiguities. How do I resolve this issue?

    
asked by anonymous 28.04.2018 / 20:15

0 answers