I am trying to compile a piece of code in c++ but I am getting these 2 errors whenever I try to make an executable after compiling w/out any errors:
/usr/lib/gcc-lib/i486-slackware-linux/3.3.4/../../../crt1.o(.text+0x18):In function `_start':
../sysdeps/i386/elf/start.S:115: undefined reference to `main'
collect2: ld returned 1 exit status
can anyone help me out please, i have no clue what that means. thanks