#Stuck on Leap challenge due to multiple declaration of main() error

1 messages · Page 1 of 1 (latest)

inner ocean
#

I'm currently new to the C language and I'm trying out the Leap challenge on Exercism but I've run into this error saying that multiple main()'s have been declared when I've only declared it once in my leap.c file. I have not touched the header file so this is where my progress is at currently. I was wondering if there is a fix to this problem. Thanks for your time!

dawn sonnet
#

Your code should not have a main. The unit test has the entry point.

inner ocean
#

Ohh I see! It works now, much thanks for the help!

dawn sonnet
#

You're very welcome