0

How to fix double reference to “main” ?

Hi, so I’m working on 3 .c files that I compile into a program that calculates the Julian date difference. However when I compile these files using my makefile the program isn’t created because of a double reference to “main”. I don’t know what to do. I’m fairly new to C so I’m still tinkering. Any help or finger in the right direction is appreciated.

13th Mar 2020, 10:08 AM
William
2 Answers
0
ohh what. Thank you i didnt know that
14th Mar 2020, 11:10 AM
William