Code Comments
Programming Forum and web based access to our favorite programming groups.Hi, I read many posts about these problems, but i did't find a solution for the mine. I want to compile this simple file: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% function doppio=perdue(n) doppio=n*2; %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% I used and I got a perdue.c file. Then I tried to use but I got errors, using LCC or Borland compiler. These are the error messages: =================LCC==================== ====================== main.obj .text: undefined reference to '_WinMain@16' MBUILD.BAT: Error: Link of 'perdue.exe' failed. ??? Error using ==> mbuild Unable to complete successfully =================BORLAND================ ===================== Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland Error: Unresolved external '_main' referenced from C:\PROGRAMMI\BORLAND\BCC55\LIB\C0X32.OBJ MBUILD.BAT: Error: Link of 'perdue.exe' failed. ??? Error using ==> mbuild Unable to complete successfully ======================================== ===================== What can I do? Thanks in advance, Paolo Bocchini -- Paolo Bocchini - Civil Engineer Structural mechanics PhD student Web: www.distart.ing.unibo.it name.surname at mail.ing.unibo.it
Post Follow-up to this messagePowered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.