General Discussion Off-Topic Discussion and Enlightenment

anybody using FORTRAN programming language......

Thread Tools
 
Search this Thread
 
Old 11-26-2007, 02:14 PM
  #1  
0.0 BAR
Thread Starter
 
beaker's Avatar
 
Join Date: Jul 2005
Posts: 0
Default 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
beaker is offline  
Old 11-26-2007, 02:17 PM
  #2  
0.0 BAR
 
J-SMITH69's Avatar
 
Join Date: Dec 2002
Posts: 0
Default Re: anybody using FORTRAN programming language......

yea in 1967
J-SMITH69 is offline  
Old 11-26-2007, 02:18 PM
  #3  
3.0 BAR
 
TorganFM's Avatar
 
Join Date: Oct 2003
Location: Your mom's panties
Posts: 3,696
Default 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.
TorganFM is offline  
Old 11-26-2007, 02:25 PM
  #4  
0.0 BAR
Thread Starter
 
beaker's Avatar
 
Join Date: Jul 2005
Posts: 0
Default 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

beaker is offline  
Old 11-26-2007, 02:43 PM
  #5  
3.0 BAR
 
TorganFM's Avatar
 
Join Date: Oct 2003
Location: Your mom's panties
Posts: 3,696
Default 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.
TorganFM is offline  
Old 11-26-2007, 04:00 PM
  #6  
3.0 BAR
 
Jorsher's Avatar
 
Join Date: May 2006
Posts: 5,322
Default 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.
Jorsher is offline  
Old 11-26-2007, 04:13 PM
  #7  
3.0 BAR
 
bigdaddyvtec's Avatar
 
Join Date: Mar 2006
Posts: 5,631
Default 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.
bigdaddyvtec is offline  
Old 11-26-2007, 04:19 PM
  #8  
0.0 BAR
Thread Starter
 
beaker's Avatar
 
Join Date: Jul 2005
Posts: 0
Default 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
beaker is offline  
Old 11-26-2007, 04:19 PM
  #9  
3.0 BAR
 
TorganFM's Avatar
 
Join Date: Oct 2003
Location: Your mom's panties
Posts: 3,696
Default 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.
TorganFM is offline  
Old 11-26-2007, 04:21 PM
  #10  
0.0 BAR
 
J-SMITH69's Avatar
 
Join Date: Dec 2002
Posts: 0
Default 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
J-SMITH69 is offline  


Quick Reply: anybody using FORTRAN programming language......



All times are GMT -5. The time now is 06:08 AM.