I'm coding binary search in helpers.c currently, but I receive a strange clang error every time I try to compile code. I'm absolutely sure my code is logically and syntaxily correct. Where am I going wrong? The error goes as follows:
clang -ggdb3 -O0 -std=c99 -Wall -Werror helpers.c -lcs50 -lm -o helpers
/usr/lib/gcc/i686-redhat-linux/4.8.1/../../../crt1.o: In function _start':
(.text+0x18): undefined reference to 'main'
clang: error: linker command failed with exit code 1 (use -v to see invocation)