I'm trying to compile a fortran program in Microsoft Developer Studio. The code compiles, but I get the following error messages when I try to "build" the project:
This occurs generally when you try to create a Win32 console application but, you define main() function instead of WinMain().
Try to generate an empty console project:
File -> New -> Project -> Win32 Console Application, and the AppWizard will generate the proper main function. Cut and paste all your code and that's all!
0
LeeClappAuthor Commented:
Thanks!!
0
Question has a verified solution.
Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.
There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.
Try to generate an empty console project:
File -> New -> Project -> Win32 Console Application, and the AppWizard will generate the proper main function. Cut and paste all your code and that's all!