Linker Error C0.asm
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up undefined symbol _main in module c0.ASM up vote 0 down vote favorite This program is being compiled successfully but giving following linking error : undefined symbol _main in module c0.ASM My program is following : #include
Forum Visual C++ & C++ Programming C++ (Non Visual C++ Issues) Please find and correct the error in my c++ program. "Linker Error: Undefined symbol If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register or Login before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. Results 1 to 15 of 15 Thread: Please find and correct the error in my c++ program. "Linker Error: Undefined symbol Tweet Thread Tools Show Printable http://stackoverflow.com/questions/26728897/undefined-symbol-main-in-module-c0-asm Version Email this Page… Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode February 24th, 2009,06:02 AM #1 tharun518 View Profile View Forum Posts Junior Member Join Date Feb 2009 Posts 8 Please find and correct the error in my c++ program. "Linker Error: Undefined symbol Please find and correct the error in my c++ program. "Linker Error: Undefined symbol _main in module c0.ASM" The http://forums.codeguru.com/showthread.php?471578-Please-find-and-correct-the-error-in-my-c-program-quot-Linker-Error-Undefined-symbol program is for transfering content of one file to another. #include module c0.ASM ?? how to get rid of this I get this error undefined symbol _main in module c0.ASM ??? How can I get rid of this error message? It happens when http://computer-programming-forum.com/47-c-language/cbbab63a6e9458df.htm the IDE is doing the link.. thanks Peter Sun, 20 Apr 1997 10:56:32 GMT https://groups.google.com/d/topic/borland.public.cpp.ide/TO7ZGiYbRsU John William Chamble#2 / 5 undefined symbol _main in module c0.ASM ?? how to get rid of this Quote: >I get this error undefined symbol _main in module c0.ASM ??? How can I get >rid of this error message? It happens when the IDE is doing the link.. Check and make sure that you're compiling a file that has main() defined. linker error What often happens is that you have multiple files and haven't built a project file, therefore your main() is not being linked. Look in the (Borland?) manual under "project files" and "main()". -- * Billy Chambless University of Southern Mississippi * " If you call a function without knowing how it is prototyped, you get * what you deserve. --Dan Pop in comp.lang.c linker error c0.asm Sun, 20 Apr 1997 12:08:47 GMT Miguel Carrasqu#3 / 5 undefined symbol _main in module c0.ASM ?? how to get rid of this Newsgroups: comp.lang.c Subject: undefined symbol _main in module c0.ASM ?? how to get rid of this Organization: NLnet Quote: >I get this error undefined symbol _main in module c0.ASM ??? How can I get >rid of this error message? Simple, write a function called main()... If you already have an int Pascal WinMain(HANDLE hInstance, HANDLE hPrevInstance, LPSTR lpCmdLine, int nCmdShow), your IDE hasn't understood you're trying to make a Windows program. Look under "target" or something similar. -- Miguel Carrasquer ____________________ ~~~ Amsterdam [ ||]~ -- |Fidonet: Miguel Carrasquer 17:514/115 | | Standard disclaimer: The views of this user are strictly his own. Sun, 20 Apr 1997 14:40:24 GMT Miguel Carrasqu#4 / 5 undefined symbol _main in module c0.ASM ?? how to get rid of this Quote: >I get this error undefined symbol _main in module c0.ASM ??? How can I get >rid of this error message? Simple, write a function called main()... If you already have an int PASCAL WinMain(HANDLE hInstance, HANDLE hPrevInstance, LPSTR lpCmdLine, int nCmdShow), your IDE hasn't understood you're trying to make a Windows program. Look von GoogleAnmeldenAusgeblendete FelderNach Gruppen oder Nachrichten suchen