HomemadeTurbo - DIY Turbo Forum

HomemadeTurbo - DIY Turbo Forum (https://www.homemadeturbo.com/)
-   General Discussion (https://www.homemadeturbo.com/general-discussion-6/)
-   -   anybody using FORTRAN programming language...... (https://www.homemadeturbo.com/general-discussion-6/anybody-using-fortran-programming-language-86369/)

beaker 11-26-2007 02:14 PM

anybody using FORTRAN programming language......
 
the class work has been piling on and i have a program to do this week along with a final exam first thing next week...


just curious if anyone here has experience with it

J-SMITH69 11-26-2007 02:17 PM

Re: anybody using FORTRAN programming language......
 
yea in 1967

TorganFM 11-26-2007 02:18 PM

Re: anybody using FORTRAN programming language......
 
I did a very small amount of Fortran in my algorithms class, but we mostly used Matlab. What do you need to know? Honestly the best way to learn how to use commands is to look up some online tutorials and example code.

beaker 11-26-2007 02:25 PM

Re: anybody using FORTRAN programming language......
 
yea. i know its pretty much outdated technology......this is pretty much the intro to mechanical engineering programming


my problem is arrays and im having a little bit of trouble with subroutines.


right now im looking at INTEL's online reference book. hopefully this helps me out a little bit


TorganFM 11-26-2007 02:43 PM

Re: anybody using FORTRAN programming language......
 
IIRC Fortran addresses arrays backwards or something like that. Like if you load an array and then call for that array to output it starts outputting from the end toward the beginning.

Jorsher 11-26-2007 04:00 PM

Re: anybody using FORTRAN programming language......
 

Originally Posted by TorganFM
IIRC Fortran addresses arrays backwards or something like that. Like if you load an array and then call for that array to output it starts outputting from the end toward the beginning.

If you know the size of the array, get the address and move the pointer backwards to read it normally. Or do they store arrays backwards as well?

I've never learned FORTRAN or even looked at it's code, because I thought it was an ancient language that nobody uses anymore... Sorry, can't help ya. Like someone else said, looking at other people's code (preferably commented) is the best way to figure crap out.

bigdaddyvtec 11-26-2007 04:13 PM

Re: anybody using FORTRAN programming language......
 
hahaha In like 1995 it was still offered, as was cobol and pascal...... I took a pascal class back in the day, it was replaced by C.

beaker 11-26-2007 04:19 PM

Re: anybody using FORTRAN programming language......
 
lol..... yea i took C++ back in high school 4 years ago.....


but like i said...fortrans language evidently is a step towards the engineering classes....i believe we use ProEngineering



cant remember..but i do know that its the same program that Toyota engineers use

TorganFM 11-26-2007 04:19 PM

Re: anybody using FORTRAN programming language......
 
Fortran isn't really as outdated as a lot of people make it seem. It has its place, like many other languages. C is definitely more versatile, but when you're doing huge mathematical algorithms with billions of calculations Fortran can get them done much faster because it's routines are so simple. When you're paying $10k/hr to use a supercomputer for research you want to use something as fast as Fortran, even if it takes a lot longer to program. That's one thing I found incredible about Matlab and Maple. Those programs would lock up a basic computer when doing a million iterations. Fortran on the other hand would spit out the answer in 10 seconds.

J-SMITH69 11-26-2007 04:21 PM

Re: anybody using FORTRAN programming language......
 

In late 1953, John W. Backus submitted a proposal to his superiors at IBM to develop a more efficient alternative to assembly language for programming their IBM 704 mainframe computer. A draft specification for The IBM Mathematical Formula Translating System was completed by mid-1954. The first manual for FORTRAN appeared in October 1956, with the first FORTRAN compiler delivered in April 1957


All times are GMT -5. The time now is 11:40 PM.


© 2024 MH Sub I, LLC dba Internet Brands