[prog] error: "reference 'main' can not be resolved"

Dan dan at cellectivity.com
Tue Nov 8 20:29:18 EST 2005


> " reference 'main' can not be resolved" , and what causes this error.

It's been awhile since I've done C programming, so all I can tell you is
that there's a problem with function "main". (Sorry if that wasn't very
profound.) Check that it takes its two parameters in the right order and
that it returns an int. Also check that you include it when linking.

-- 
   Your parents did it. How cool can it be?
            - Billboard in Mississippi, erected to
              discourage teen smoking.




More information about the Programming mailing list