fortran95
Linking FORTRAN and C++ objects files
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[详细]
2023-04-02 03:44 分类:问答Writing multiple output files in Fortran
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?[详细]
2023-03-09 02:49 分类:问答Difference between Fortran 90 and Fortran 95
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[详细]
2023-03-06 04:03 分类:问答Can we create custom attributes in fortran?
Expanding on my previous question here, I want to know if is possible to create custom attributes in fortran ?[详细]
2023-02-28 05:06 分类:问答Need help with Binary Search algorithm error
Using the g95 compiler, I have an error: Error: Operands of comparison operator \'.EQ.\' at (1) are LOGICAL(4)/LOGICAL(4)[详细]
2023-02-27 07:49 分类:问答Problem reading from file with arrays
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?[详细]
2023-02-27 04:31 分类:问答Problem with sorting array algorithm
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[详细]
2023-02-27 00:18 分类:问答Problem reading from a file and storing in array
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![详细]
2023-02-26 06:33 分类:问答Need help with output of asterisks and indexes using arrays
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[详细]
2023-02-24 23:49 分类:问答Problem with Array Sorting and Printing it sideways in Fortran 95
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[详细]
2023-02-23 20:38 分类:问答