Nico Heinze wrote:
> --- In [email protected], Oviaprasad D <[EMAIL PROTECTED]> wrote:
>> Hi Sharma
>> Sorry for the late reply I went for Holiday
>> you can do with same with curses.h
> <snip>
> 
> What about using curses with standard I/O? Won't work, I guess. At
> least until now I've never heard of curses working for stdio filters.
> Not to forget that -I'm tempted to say "of course"- Microsoft never
> adopted curses for their (incomplete) POSIX conformant parts of
> Windows; meaning that curses programs can't be compiled under Windows
> (at least not without additional libraries).
> 
> As explained by some other people: there is no portable way in C/C++
> to clear the screen. You always have to look at the particular
> environment in which a program runs.
> 
> Regards,
> Nico

I was pretty sure I used the ncurses library for both 
clearing/manipulating the screen and getting keyboard input on Windows 
and Linux at some point in time.  Not sure about standard handles 
(stdin/stdout/stderr) but I wasn't too concerned about that since there 
are already plenty of functions for those.

-- 
Thomas Hruska
CubicleSoft President
Ph: 517-803-4197

*NEW* MyTaskFocus 1.1
Get on task.  Stay on task.

http://www.CubicleSoft.com/MyTaskFocus/

Reply via email to