On Wed, 28 Jan 2004, Richard Maine wrote:
> Renchi Raju writes:
> [about cursor positioning]
>
> > fortran 90 doesn't have this feature. only portable way might be interface
> > with a C function.
>
> C doesn't have such a thing either...for the same reason as Fortran.
>
> There are hardware-specific C libraries, often with C interfaces
> (termcap and termlib, for example), but nothing in the C language.
you might be right, but gcc printf/fprintf with "\r" (followed by a flush)
produces expected results. (i just tested it with intel c compiler and
works there too)
renchi
|