i have Borland compiler version 5.51 for Win 32
when i try to compile this script:
#include <iostream.h>
int number_of_doritos(void)
{
int yum;
yum = 523; /* That's a lot of doritos! */
return yum; /* Returns the value in yum, stops the function */
cout << "I hate doritos!" << endl; /* Nobody ever sees this */
return yum;
}
theres an error: Unresolved external '_main' refrenced from D:\BORLAND\BCC55\LIB\COX.OBJ
i have no idea what to do
(i copied the bin folder of borland in a diff dirrectory for easy compiling i wonder if it has to be with the other folders lib, examples, include, help )
any help?