I have been doing Fortran 95, but whenever I run a program, it gives me the error message: “Undefined Reference to WinMain”
Recently I downloaded gfortran through tdm-gcc, and I downloaded Visual Studio Code with three add-ons: C/C++, Modern Fortran, and Code Runner. I created a folder labeled “Fortran Projects” and attached it to VSC. Whenever I run any program, no matter what it is, I always get the same error message: