I am going to call a C++ function from FORTRAN, for which I am using ISO_C_Binding module. After compaction of the FORTRAN main file and C++ function with commands
Dear All, I am writing a code that writes the out put in multiple files named as 1.dat, 2.dat, ..... Here is my code but it gives some unusual output. May you tell me what is wrong in my code please?
Can I compile Fortran 90 files with a Fortran 95 compiler?Ther开发者_运维百科e seems to be a lot for Fortran 95 but not Fortran 90.Yes, you can compile Fortran 90 programs with a Fortran 95 compiler.A
Expanding on my previous question here, I want to know if is possible to create custom attributes in fortran ?
Using the g95 compiler, I have an error: Error: Operands of comparison operator \'.EQ.\' at (1) are LOGICAL(4)/LOGICAL(4)
On Fortran 95, I get an error message saying that itemarray(size) cannot be intent(out) which doesn\'t make any sense because you are reading itemarray from a file. How can I fix this error?
I have three arrays. And I am trying to sort all of them by one of them so. So my arrays are itemarray, pricearray, quantityarray. I want itemarray to be sorted but the corresponding arrays aren\'t so
Using the g96 compiler, I got an error saying: INTENT(OUT) at variable \'SIZE\' is never set. Below is my subroutine. Do you know how I can fix this error? Thanks so much!
The output of this program on fortran 95 displays asterisks instead of digits. Also I canno开发者_开发问答t get the Experiment# to print as intended like so; Experiment 1, Experiment 2, Experiment 3 a
I am trying to take my array of numbers based on a variable that determines its size and sort it. The array is created using the random numbers seed on Fortran 95. However when I try to sort it I ru