Fortran How to format a data ascii file in Fortran on RedHat linux?

  • Thread starter Thread starter Fortran_begin
  • Start date Start date
  • Tags Tags
    Fortran
AI Thread Summary
A user seeks assistance in converting a data ASCII file containing real and integer values, separated by commas, into a specific Fortran format: FORMAT(5I3,F7.2,F6.2,F8.3,F7.2,F10.3,2F7.2,F6.2,I4,f6.1,F6.2). The user is a beginner in Fortran programming and uses RedHat Linux for compilation. The response emphasizes the importance of demonstrating prior efforts and asking specific questions rather than requesting complete solutions.
Fortran_begin
Messages
1
Reaction score
0
it is my first post and It is very serious and urgent
I have a data ascii file composed of real and integer data.
these data are separated by commas.

would any of you write some code to change its format into this?
FORMAT(5I3,F7.2,F6.2,F8.3,F7.2,F10.3,2F7.2,F6.2,I4,f6.1,F6.2)

I am a beginner in Fortran programing and I use RedHat linux to compile it.

thank you


 
Technology news on Phys.org
We will not do your homework for you. You need to show us your work, show us where you're stuck, and ask for specific help.

- Warren
 
Thread 'Is this public key encryption?'
I've tried to intuit public key encryption but never quite managed. But this seems to wrap it up in a bow. This seems to be a very elegant way of transmitting a message publicly that only the sender and receiver can decipher. Is this how PKE works? No, it cant be. In the above case, the requester knows the target's "secret" key - because they have his ID, and therefore knows his birthdate.
Thread 'Project Documentation'
Trying to package up a small bank account manager project that I have been tempering on for a while. One that is certainly worth something to me. Although I have created methods to whip up quick documents with all fields and properties. I would like something better to reference in order to express the mechanical functions. It is unclear to me about any standardized format for code documentation that exists. I have tried object orientated diagrams with shapes to try and express the...

Similar threads

Replies
12
Views
3K
Replies
3
Views
3K
Replies
2
Views
2K
Replies
1
Views
2K
Replies
4
Views
9K
Replies
5
Views
3K
Replies
1
Views
2K
Replies
2
Views
25K
Back
Top