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: 1396
Discussions: 200,507, Posts: 2,374,396, Members: 245,831
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,888
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,888
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? (1635)
FT HOOD attack: 7 killed 12 injured (66)
Review My Build (5)
HELP!!! What do you think of this s.. (16)
Looking for a graphic card that wil.. (30)
Assosiations (21496)
My 1st pc build (40)
Aero in Vista (7)
PC Modern Warfare 2: it's much wors.. (12)
core i7 extreme 975, nvidia 9400gt (9)
How to Ship a PC (16)
Building my first computer (13)
slaving laptop drive (7)
[F@H SPAM 11/1/09]New month . . . n.. (33)
Recent Discussions
sell cvv us-uk-eu-au...very good. who.. (0)
how to convert mod to wmv/avi/mp4/mov.. (0)
FAT32 to NTFS file system in Win2kpro (3)
Motherboards and my curse... (25)
Review My Build (5)
HELP!!! What do you think of this sys.. (16)
New Processor, Monitor will not turn .. (2)
2009 Build (4)
Internet very slow since updating AVG.. (7)
My 1st pc build (40)
Freezing During Music/Movies (1)
Windows Experience Index is screwed u.. (2)
ext. sound card laptop to stereo syst.. (2)
Remote Desktop via SSH and error mess.. (2)
Help and Support disappeared from my .. (0)
[F@H SPAM 11/1/09]New month . . . new.. (33)
Basic applications needed for "r.. (1)
core i7 extreme 975, nvidia 9400gt (9)
hard drive problem (2)
Win7 TrustedInstaller Permissions (2)
Speed up Win 7 boot time a bit (1)
Hard Drive test program (2)
wireless westell versalink model 327w (1)
New build 10 second reboot cycle! Won.. (3)
New Linksys Routers (2)


All times are GMT -4. The time now is 04:55 AM.
TechIMO Copyright 2008 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