program not running!!!

i have made a program for railway reservations...there arent any errors..but while running it....it is showing a linker error...which states: undefined _main in module c0.ASM
how do i make it run?
i cant post d code as it is very long..:(
Post your code using www.pastebin.com.

If you've been able to run other programs, then it's possible you changed either a setting in your IDE or compiler. Or you could be using a bad project template.
Perhaps you have misspelled the function main......I did the same long ago and i got the same error......If it does'nt work the post the code with programming tags in it,may be we could help u..

enjoy programming
Try erasing the entire body while keeping the editor open, and try a simple "Hello World" program. If it doesn't run, there is something with the IDE settings as Volatile Pulse said. This seems like an IDE-specific error (please don't sue me for the term, anyone).

Topic archived. No new replies allowed.