home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Webmastering and Programming
Ask a Tech Support Question (free)!

any good C/fortran code sites?

Reply
Get bargains at  »  Dealighted.com
 
Thread Tools Search this Thread
Currently Active Users: 1410
Discussions: 200,927, Posts: 2,379,139, Members: 246,295
Old March 9th, 2003, 02:11 PM   Digg it!   #1 (permalink)
Senior Member
 
Join Date: Oct 2001
Posts: 881
Send a message via AIM to zskillz
any good C/fortran code sites?

here's the story. I'm a grad student in theoritical chemistry. I'm very comfortable in java, but don't know any other language. Unfortunately, the field uses fortran and C for it's programs. Anyway, my final project for my statistical mechanics course involves disecting some code in both fortran and C, but i don't know any of the syntax.

do any of you have/know of any sites that are very user friendly and informative for looking up C/fortran syntax?

thanks all!

-Z
zskillz is offline   Reply With Quote
Old March 9th, 2003, 09:18 PM     #2 (permalink)
Banned
 
qball's Avatar
 
Join Date: Oct 2001
Posts: 447
If your comfortable with Java, then C/FORTRAN should be a snap.

C and FORTRAN have maybe 20 STATEMENTs, all which java does, just a matter of syntax, though probably what you are asking.

Either google or buy some cheap books.

www.bookpool.com

seems, not many cheap books there...
qball is offline   Reply With Quote
Old March 9th, 2003, 10:20 PM     #3 (permalink)
Senior Member
 
Join Date: Oct 2001
Posts: 881
Send a message via AIM to zskillz
thx q... i'll see what i can dig up around the dept. first too

-Z
zskillz is offline   Reply With Quote
Old March 9th, 2003, 10:29 PM     #4 (permalink)
Anime Otaku
 
RobRich's Avatar
 
Join Date: Oct 2001
Location: Tampa, FL USA
Posts: 108,969
Blog Entries: 15
You'll have little problem learning C, as it closely parallels J for most conventions.

You may have a harder time with Fortran, especially considering if its an older version. F9x should prove safe enough for a person experienced with J, but if your using something like Fortran 7x, then I definitely recommend obtaining a good programming guide. My scientific application development classes required F77, and it was not too fun having to deal with the archaic code conventions.

Robert Richmond
__________________
Robert Richmond | TechIMO Community Relations Director
Infinite perceptions. One reality.
FanFiction.Net - Unleash your imagination.
RobRich is offline   Reply With Quote
Old March 10th, 2003, 02:38 AM     #5 (permalink)
Senior Member
 
Join Date: Oct 2001
Posts: 881
Send a message via AIM to zskillz
cool, thanks for the advice rob... i'm not sure w/ version it is... .i hope that it's fortran 90, but not positive... we'll see

-Z
zskillz is offline   Reply With Quote
Old March 10th, 2003, 08:56 PM     #6 (permalink)
Banned
 
qball's Avatar
 
Join Date: Oct 2001
Posts: 447
Quote:
My scientific application development classes required F77, and it was not too fun having to deal with the archaic code conventions.

Is that the first six columns of a line are 'reserved' (one is comment, a few are for branching/goto, forgot the others.. Or are you really old school and no for/while loops?

Regardless being 2003, hopefully it's the FORTRAN I was doing 7 yrs ago, and that was pretty easy, though no OO!
qball is offline   Reply With Quote
Old March 10th, 2003, 09:06 PM     #7 (permalink)
Anime Otaku
 
RobRich's Avatar
 
Join Date: Oct 2001
Location: Tampa, FL USA
Posts: 108,969
Blog Entries: 15
Fotran 77 is the wonderful world of never ending "goto" statements. Test loops are available, but most other control options were non-existent.

And yes, the first series of columns are reserved. Worst part? We developed applications on a shell account on a VAX system. Definitely not the high point of my education.
RobRich is offline   Reply With Quote
Old March 11th, 2003, 09:16 PM     #8 (permalink)
Banned
 
qball's Avatar
 
Join Date: Oct 2001
Posts: 447
Aahh the GOTO.

Did that in college, talk about spaghetti code. Loops really do make a difference...
qball is offline   Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Most Active Discussions
Is It Just Me? (2867)
Is the PSU I received dead? (10)
windows vista security holes (9)
HIS HD5770 graphic card question (15)
Foreign voltage (10)
Print spooler problem (13)
Install XP pro and a Vista laptop ?.. (10)
Dept. of HS: NSA 'Helped' Develop V.. (15)
A good PSU? (10)
Ideal cheap graph card for PC-Gamin.. (15)
New Computer wont recognize XP disc (7)
EVGA 9800 gtx help with finding a g.. (8)
World's largest Monopoly Game using.. (331)
Modern Warfare 2: Who Bought It? (61)
Recent Discussions
Fire in DVD (2)
Regular Build (0)
Modern Warfare For the PC (33)
radeon x850xt platinum & shader 3 (3)
Have you switched yet? (84)
Install XP pro and a Vista laptop ?? (10)
Wireless Router+Cable Modems and Much.. (0)
Optical Audio A-B Switch (1)
windows vista security holes (9)
The NTDVM CPU has encountered an ille.. (24)
[F@H SPAM 11/16/09] ! 1/2 months to r.. (34)
Wireless speakers for PC? (11)
Print spooler problem (13)
Help getting around port 80 for camer.. (2)
Display shows 3x5 inch in middle of s.. (3)
monitor will not turn on at all, (1)
World's largest Monopoly Game using G.. (331)
Foreign voltage (10)
FiOS modem/router interfering with ne.. (7)
Browsers wont load websites (2)
Virus Doctor Popup? (1)
Dept. of HS: NSA 'Helped' Develop Vis.. (15)
EVGA 9800 gtx help with finding a goo.. (8)
Problem with speed step/turbo boost? (1)
Modern Warfare 2: Who Bought It? (61)


All times are GMT -4. The time now is 02:47 AM.
TechIMO Copyright 2009 All Enthusiast, Inc.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28