I was wondering what is the best way to learn how to program in Fortran ?
I've been looking for books, the examples that seemed OK to me were "Fortran 95/2003 Explained" and "Fortran For Scientists And Engineers".
I don't know what you guys think of these?
Another thing that I am wondering about is which compiler I should use? I work on a Windows 7 machine (64-bit).
I hope you guys can help me on this one!
So for my experience with programming:
- Matlab and maple were kind off my first introductions into the programming world. Matlab is a program in which I'm actually pretty good, I got the hang of working with loops and how to combine these to make more effeciënt programs. Maple is more in the basic phase (I know how to search the solution to simple integrals etc.).
- A year after that we got an introduction to C++ in visual basic. The professor actually went to quick on this one, after 2 months we were already discussing pointers and inheritance. I am able to write simple programs in this language, only the working with classes is something that remains a difficulty, but I believe that's just a matter of practice.
- And a year later I needed to learn Mathematica 8 which I'm also really getting good at nowadays.
So I have a little bit of programming-expierince, but I won't say it's an incredible amount!
The reason I want to learn Fortran is mainly because you can't do theoretical physics on it's own, you need to test your theories and for that you'll need to be able to write programs which might be able to test those theories numerically. I heard that Fortran is kindoff the language to use when it comes to numerical mathematics, so I think it would come in handy to know this language.
ps: what's the difference between Fortran95 and Fortran 2003 ?