public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* How I can execute the clear screen command in C/GCC source code??]
@ 2000-12-09  2:09 Antony Sakellariou
  2000-12-11  7:36 ` Alexandre Oliva
  0 siblings, 1 reply; 2+ messages in thread
From: Antony Sakellariou @ 2000-12-09  2:09 UTC (permalink / raw)
  To: gcc-help

As gcc don't support void clrsrc();  I have difficulty in finding a way
to do this. I 'd like to know what I have to do.

Regards
Antony Sakellariou
Greece
vansak@otenet.gr


To : gcc-help-subscribe at gcc dot gnu dot org
Subject : How I can execute the clear screen command in C/GCC source code??
From : Antony Sakellariou <vansak at otenet dot gr>
Date : Sat, 09 Dec 2000 12:05:36 +0200

As gcc don't support void clrsrc();  I have difficulty in finding a way
to do this. I 'd like to know what I have to do.

Regards
Antony Sakellariou
Greece
vansak@otenet.gr

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: How I can execute the clear screen command in C/GCC source code??]
  2000-12-09  2:09 How I can execute the clear screen command in C/GCC source code??] Antony Sakellariou
@ 2000-12-11  7:36 ` Alexandre Oliva
  0 siblings, 0 replies; 2+ messages in thread
From: Alexandre Oliva @ 2000-12-11  7:36 UTC (permalink / raw)
  To: Antony Sakellariou; +Cc: gcc-help

On Dec  9, 2000, Antony Sakellariou <vansak@otenet.gr> wrote:

> As gcc don't support void clrsrc()

Sure it does.  As long as you link with some library that supplies
the definition of this function :-)

GCC doesn't contain a C library, it's just a compiler.  It's up to the
OS to offer a C library; if the functionality is missing in the OS's C
library, because it's supposed to be a Standard-compliant C library
(and clrstr() isn't part of the C Standard library), then you have to
find some utility library that implements this function, or some
similar functionality under a different name.  Try termcap, curses or
ncurses.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-12-11  7:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-12-09  2:09 How I can execute the clear screen command in C/GCC source code??] Antony Sakellariou
2000-12-11  7:36 ` Alexandre Oliva

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).