hi all, can anyone maybe explain to me what i am doing wrong with the TRIM function, because it doesn't actually remove any blanks from my string. The code is here:
program trim_err
implicit none
character(30) :: my_string
my_string = ' 123465 '
print *, '|'//my_string//'|'
my_string =...
i've been comparing 4th order Runge-Kutta method i wrote in F90 and in Matlab R2006 and stumbled upon a bizzare thing: is it possible that the two programs have different arithmetic operator priorities????
look at the attached picture: if i use parenthesis to specify the computation order...
hi mikrom, i'm using f90. (in Compaq Visual Fortran 200) i pressume the compiler must be Intel Visual Fortran Compiler. i don't know about the details - i just use the developer studio default compiler, sorry i can't be of more help :)
hi all, i'm trying to write a very simple program, which prompts me for matrix dimensions (m,n) and then outputs a m x n matrix of ones (1's) on the display. the thing obviously :) doesn't work - if you can help me, i'd be very grateful!
my...
hi all, i'm a complete newbie to fortran - if someone can take 30 seconds to look at the short code below and tell me why it prints the wrong sum of two numbers, i'd be very gratefull, because i'm freaking out already...
CODE:
program temp
implicit none
real,external :: add
real...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.