IS SOMEONE HERE A PROGRAMMER - NEED HELP!

Farin

New member
Hi everyone

well, i screwed up. a few weeks ago i started my first job on my university, nothing special, but the professor told me that i would have to do some simple programming stuff with FORTRAN.
well, it was the understatment of the year: what he wants me to do is to write a FORTRAN programm that does the following:

read a txt.file that contains a chart with dates and meterological values (like wind speed, for example), than create a new txt.file witch contains these data in a new formated table with a head that tells the user from witch weatherstation these data are coming :eek:

i have only very small experience as a programmer and neither my books nor google were helpfull so my question to you is

- has anyone of you did something like this at work or college or knows how to do this ???

- or more likely do you know a good forum for programmers where i can find some help??


thanks in advance

Farin
 

PegaZus

Stealth Freak
Sorry, I looked for my old books but I didn\'t find anything. Its been 15 years or so since I programmed in Fortran. I won\'t be able to reply again, but others might need to know if you\'re using the 77 or 90 version. Not sure that there is a big difference for what you\'re doing.

Anyway, calm down and don\'t panic. I\'d whip open a search engine, say, Google, and search for \"fortran\" and \"read a file\".

Sucky advice, but that\'s all I can give at the moment, at least until I find my F77 book.

EDIT: Ah, you did say you\'ve done google. Hmm... well, break the tasks down. Get it to read the file and not crash. Then print it to the screen. Then write it to another file. Once you\'ve got that far, all you\'ll need to do is format the data and rearrange.
 

Farin

New member
thanks, i´m trying that!

...and believe i´m trying to stay calm but that is really a tough one, since it is a really special problem and most sites you find with google deal with the basics like print something on the screen, etc.. or general questions.
By the way i´m writing this code in FORTRAN 95, but according to my books, the difference to 77 isn´t that big.

I mean i allready wrote a big part of the code, all i have to do now, is to to \"cut\" the lines on the screns into small strings and than i have to rearrange that strings in my new file,oh and of cause my solution must be dynamic, cause the lines in the original file look different from time to time
:drunk:..

i keep hangin´ on and hopefully i will find i way, even when it´s the last thing i do:D
 

hakoMike

Active member
I did some Fortran development ages ago. If you want to sent me what you have I can take a look at it.

Personal email is (my username) @ gmail
 
Back To Top
Top