Setting up a Fortran programming environment with debugger in Windows using Visual Studio Code

preview_player
Показать описание
A short tutorial on how to set up a Windows programming environment, including debugger, in Windows. I'm using Windows 10 and Microsoft Visual Studio Code.
Рекомендации по теме
Комментарии
Автор

FORTRAN. What a great language to work in. Spend over 5 years using it virtually every day from early 1964 to 1970.

fwcolb
Автор

Your video saved me a lot of time. Thanks!

rosedegaia
Автор

I couldn't figure out how to get my debugger working then I realized all I had to do was edit line 11 in the launch.json file like you did to replace a.out with my program name.exe 👍

Feta_Cheezz_Montgomery_Burns
Автор

I assume this is something for your students Martin. I know a little bit about programming (batch files and so on)....mostly though, i could listen to you all day regardless of the topic. Peace to ya.

dazuk
Автор

I wondered what coding had to do with your channel 🤔 ...then I saw FORTRAN!!!

danielblanchard
Автор

Great video!! really helpful. I have been trying to get a basic helloWorld program to run but for some reason I get an error saying 'gfortran' is not recognized as an internal or external command,
operable program or batch file.
I have added my MinGW folder to my environment variable

akshayanand
Автор

Thanks mate for the video. You compile FORTRAN files into exe directly, where is linking. I tried your recipe it produces a lot of .o files in the folder? Have you also find away where the IDE create the makefile/bat for you?

mohamedibrahim
Автор

When I think about it, I suppose I shouldn’t have been surprised by the topic. However, I thought ‘academia’ had moved to Python these days. Still I guess there will always be pieces of old code that no-one wants to re-write. If you are on Windows 10 You also might want to consider Windows Subsystem for Linux (WSL) as a better way of running Linux on your machine than minGW. VSCode integrates well with WSL. Interesting. Thanks. 👍🏼

bertieblob
Автор

Thank you!

BTW, has anyone ever told you that you sound just like James May? 😅

fr_schmidlin
Автор

Can you inspect arrays though? (please let me know)

randomvidz
Автор

I prefer to use the linux subsystem for win10. Then you can choose the bash terminal in visual studio code. Everything remains same then.

wuzhangfang
Автор

Why can't I get "gfortran --version" to work at the point where you've installed both MinGW, set the environment variable, and installed the VSCode extension? Any ideas?

waterwanderer.mattyy
Автор

when i type 'gfortran' in the command prompt, it appears
.
C:\Users\user>gfortea
gfortran: fatal error: no input files
compilation terminated.
.
What does that mean?any ideas?

wesleychung
Автор

what's the job of the clusterMC.exe file? how did you get that?

strangeworld
join shbcf.ru