Re: Fortran 90 and GUIs
- From: user1 <user@xxxxxxxxxxx>
- Date: Fri, 27 Jun 2008 22:46:36 -0400
GaryScott wrote:
On Jun 27, 11:51 am, brady.m.ad...@xxxxxxxxx wrote:I have a Fortran program that I would like to implement a GUI with. In
doing a little reading around the net it seems that I will probably
want to call a different programming language such as C++, Java, or
Python. Starting out the GUI will be really simple: something like
"You are running blah blah blah. Continue?" --- with yes and no
buttons. If things go smoothly the GUI could get considerably more
complex.
My question: is this feasible? If so what would be the best language
to do this with? I know nothing about C, C++, or Java, but I know a
little Python. Or is there something else that would be better? Are
there any good books or online references on interfacing two different
languages (one of which being Fortran)?
Thank you!
Naw, by far the best solution is to use one of the many GUI builders
available for Fortran. There's even one semi-RAD tool. There are
free ones, $ ones, and $$$ ones. Mixed language programming is never
the best solution in my opinion, but it may be the cheapest since
there is so many free routes available. To me it's an extremely ugly
kludge.
Well, as far as kludges go, you could make the Fortran code take all of its input from and write all of its results to various files on disk. The GUI could be created with one of many free C++ toolkits ( qt, fltk, wxwidgets, ... ) and used to first create the needed input, then execute the fortran prog, then display the results.
.
- Follow-Ups:
- Re: Fortran 90 and GUIs
- From: Gary Scott
- Re: Fortran 90 and GUIs
- References:
- Fortran 90 and GUIs
- From: brady . m . adams
- Re: Fortran 90 and GUIs
- From: GaryScott
- Fortran 90 and GUIs
- Prev by Date: Re: Is it time to legitimise REAL*8 etc?
- Next by Date: Re: Fortran 90 and GUIs
- Previous by thread: Re: Fortran 90 and GUIs
- Next by thread: Re: Fortran 90 and GUIs
- Index(es):