you can write whole the code of your project in a single source file.but it will create problem at the time of maintenance.

so you should make a module for a particular task.it will also help you at the time of debugging.

And try to use GCC compiler it is a standard one.
Never go for GOTO statement and function like getch().try to avoid the header file conio.h.