Error Undefined Symbol _main In Module C0.asm
Search Username Password Remember Me? Register Lost Password? facebook google twitter rss Free Web Developer Tools Advanced Search Forum Programming Languages C Programming Linker Error : Undefined symbol _main in module c0.ASM Thread: Linker Error : Undefined symbol _main in module c0.ASM Share This Thread Tweet This + 1 this Post To Linkedin Subscribe to this Thread Subscribe to This Thread February 15th, 2011,12:15 AM #1 No Profile Picture viralmand View Profile View Forum Posts Registered User Devshed Newbie (0 - 499 posts) Join Date Feb 2011 Posts 6 Rep Power 0 Linker Error : Undefined symbol _main in module c0.ASM Sir, I had written a program in c like this: #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 http://forums.devshed.com/programming/788154-linker-error-undefined-symbol-_main-module-c0-asm-post2599949.html 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 Version Email this Page… Subscribe to this Thread… Display Linear Mode Switch to Hybrid http://forums.codeguru.com/showthread.php?471578-Please-find-and-correct-the-error-in-my-c-program-quot-Linker-Error-Undefined-symbol 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 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 the http://computer-programming-forum.com/47-c-language/cbbab63a6e9458df.htm IDE is doing the link.. thanks Peter Sun, 20 Apr 1997 10:56:32 GMT 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. What often happens error undefined 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 Sun, 20 Apr 1997 error undefined symbol 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 under "target" or something similar. -- Miguel Carrasquer