English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I have to take a Fortran(90) class next spring and I know a tiny bit of C++, will Fortran be easier or harder to learn than C++? Thanks.

2007-10-04 16:19:08 · 3 answers · asked by Student02 3 in Science & Mathematics Engineering

3 answers

i think so yeah

2007-10-04 16:20:48 · answer #1 · answered by Anonymous · 0 0

The most common Fortran versions are not object oriented, you don't create classes, you just have functions working on primitive variables.

Fortran may have gone object oriented recently, but I doubt it.

The syntax is simple.

Of course, if you already have some C++, a C based course would be easy.

I would rather work in C/C++, I find it more "readable." And C is usually fast enough for technical work.

The question you should ask is what types of programs are you going to be required to write? If it is just an introductory course, like "This how to use a for loop, this is how an if statement works," then Fortran is not going to bother you too much.

But if they want to teach you how to solve systems of linear equations or do serious numerical methods, then maybe you want to work in a language that's closer to what you know.

Email the professor and get a syllabus.

And check out the book "Numerical Recipes in Fortran" or the C++ version, "Numerical Recipes in C++" and learn what you can -really- do with a computer.

2007-10-04 16:38:27 · answer #2 · answered by njf13 2 · 1 0

It's quite a bit different than C++, but it's not terribly difficult to learn. The hardest part(s) of Fortran are the I/O Format statements.

Doug

2007-10-04 17:17:55 · answer #3 · answered by doug_donaghue 7 · 0 0

fedest.com, questions and answers