Sep 29, 2010 #1 milenko76 Technical User Mar 26, 2010 100 PT Well the problem is I have a program in C,is it possible to translate it to FORTRAN.Is it to complicated?
Well the problem is I have a program in C,is it possible to translate it to FORTRAN.Is it to complicated?
Sep 29, 2010 #2 FJacq Programmer Aug 10, 2010 365 FR Why do you want to translate a C program into FORTRAN ? From a general point of you, I disagree with any translation without a very very very strong reason. In addition, C and FORTRAN are very easy to couple together, even in a portable way thanks to the iso_c_binding feature of FORTRAN. Upvote 0 Downvote
Why do you want to translate a C program into FORTRAN ? From a general point of you, I disagree with any translation without a very very very strong reason. In addition, C and FORTRAN are very easy to couple together, even in a portable way thanks to the iso_c_binding feature of FORTRAN.
Sep 29, 2010 #3 xwb Programmer Jul 11, 2002 6,828 GB Which version of Fortran? F77 is not so easy if structures are used, F90/95/2003 is a lot easier. Is there any character string manipulation - this isn't so easy to translate. Does it use any math functions like j0 or j1? There are equivalents but not always in the same precision. Upvote 0 Downvote
Which version of Fortran? F77 is not so easy if structures are used, F90/95/2003 is a lot easier. Is there any character string manipulation - this isn't so easy to translate. Does it use any math functions like j0 or j1? There are equivalents but not always in the same precision.
Sep 29, 2010 Thread starter #4 milenko76 Technical User Mar 26, 2010 100 PT Thamks guys.Well yes I realize now that this is probably not the best option. Upvote 0 Downvote