I downloaded some libraries and linked them to my compiler.I use Code Blocks.
However it's not working.It says undefined reference to winmain16 all the time.
I am tired of trying to make it work,here's the code if someone has any idea what to do.
I am not familiar with the two libraries you are using, genlib.h and simpio.h. Try commenting these two lines out, and remove everything from the main. If you still get errors, then you have not created the correct project in code::blocks.