Thread: Clueless geocacher looking for fortran compiler
hi,
i'm not programmer nor know squat fortran was given geocaching puzzle solve requires fortran knowledge. have no idea i'm looking @ or how trace way through it. started hunt looking fortran compilers i've gotten lost i'm not sure right way go. looking "bablefish" online translator or perhaps small download cut , paste code , provide me output. can plz direct me? thanks
output should series of numbers vaguely like: 40 deg 45.123 min 111 deg 50.123 min
here 1 of code snippets:
character*22 c / 'mary had little lamb' /
integer n (15), m ( 3, 5 )
equivalence ( m , n )
data ( ( m ( , j ), j =1, 5 ), = 1, 3) / 3,13,16,4,13,8,3,4,3,18,3,8,17,22,3 /
1 j1 = 1, 15
k1 = n ( j1 )
m1 = ichar ( c ( k1:k1 ) )
1 n ( j1) = m1 - m1 / 10 * 10
write ( *, 101 ) ( n ( ) , = 1 , 15)
101 format ( 1x, 2i1, ' deg', 2x, 2i1, ' . ', 3i1, ' min', 3x, ' - ', 3i1, ' deg', 2x, 2i1, ' . ', 3i1, ' min' )
stop
end
hi & welcome forums,
ok...that's bit of odd request - here! can't online "babelfish"-type translator code, open source gfortran compiler available download here: http://gcc.gnu.org/wiki/gfortranbinaries
there's plenty of info in wiki started well.
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support New to Ubuntu [other] Clueless geocacher looking for fortran compiler
Ubuntu
Comments
Post a Comment