Re: New to Fortran on Win XP
- From: Beliavsky <beliavsky@xxxxxxx>
- Date: Wed, 24 Dec 2008 02:39:25 -0800 (PST)
On Dec 23, 7:15 pm, Sebastian Gallinat <sebastian.galli...@xxxxxxxx>
wrote:
In other words, programs written for a command line should be used from
the command line. Open a cmd.exe, change the directory to that of your
program, and then type "a.exe" (you may type the fully qualified path to
your a.exe also without changing the directory. Note, that the
directory, which you can see in cmd.exe is the working directory of your
program, so all your output files without a path are written in that
directory. You may also use some tricks like piping the output to a file
on the command line or getting input from a file, which looks like
"infile.data < a.exe > outfile data. So you can see, working on the
command line is very important). So you can see all of the output of
your a.exe in the command window, if the buffer of the window is big
enough (you can change the buffer size to a bigger one by clicking the
top-left icon and then click on the properties).
This was good advice about using cmd.exe . I suggest using cmd.exe
within an Emacs-like text editor such as XEmacs, which is free for
Windows (and all other operating systems). After opening XEmacs, one
types "M-x shell" in the minibuffer to start a session of cmd.exe that
runs within XEmacs. Then, all input and output from the command line
is saved in the XEmacs buffer. This is much more convenient than
working with the cmd.exe console directly.
.
- Follow-Ups:
- Re: New to Fortran on Win XP
- From: Craig Powers
- Re: New to Fortran on Win XP
- From: Matti
- Re: New to Fortran on Win XP
- References:
- New to Fortran on Win XP
- From: Matti
- Re: New to Fortran on Win XP
- From: Sebastian Gallinat
- New to Fortran on Win XP
- Prev by Date: Re: ice melting
- Next by Date: infinite DO
- Previous by thread: Re: New to Fortran on Win XP
- Next by thread: Re: New to Fortran on Win XP
- Index(es):
Relevant Pages
|