Re: screen clearing in ANSI C



"David T. Ashley" <dta@xxxxxxxx> writes:

"Leslie Kis-Adam" <dfighter@xxxxxxxxxxx> wrote in message
news:ek7s1a$fjk$1@xxxxxxxxxxxxxxxxxx
Hi everyone!
Does anyone know, if it is possible to clear the screen in ANSI C?
If it is,then how?
Any help would be appreciated.

I don't know about ANSI ... but in the *nix world most shell programs
emulate the VT100 ... the following program will clear the screen.

This is exactly why off-topic questions should not receive
answers: often, the given "answers" are wrong.

In the Unix world, the shell has nothing to do with terminal
emulation.
--
Here's a tip: null pointers don't have to be *dull* pointers!
.



Relevant Pages

  • Re: Please Help ----------Free Downloadable Ebooks for C 
    ... you give a list of headers which *all* "ANSI ... The older C90 standard is still significant; ... It is a pointer to an array of pointers. ... But eternal confusion in C between pointers and arrays will ...
    (comp.lang.c)
  • Re: size of a sizeof(pointer)
    ... But standard C is deeply dependent on the types of architectures that exist ... That's why it has pointers, ... ANSI committee made their decisions. ... > The subject of clc is not programming. ...
    (comp.lang.c)
  • Re: Global Variables
    ... perfectly kosher according to the ANSI C standard, ... So either generic pointers get bogged down by extra machinery for CODE and RAM addressing by the same pointer, or the language has to be extended. ...
    (comp.arch.embedded)
  • Re: best option for terminal emulation?
    ... the point of using this card as the I/O for a homebrew CP/M machine? ... I don't know how simple it is to emulate but much CP/M software used ADM-3 ... ansi and native), and many of the other common terminals. ...
    (comp.os.cpm)
  • Re: Smart Pointers: Is there something similar to smart pointers in C?
    ... Gwyn (comp.std.c, ANSI C X3J11 standard, developer of the Army's BRL-UNIX ... being induced to learn programming. ... Essentials such as pointers are ... C compiler, even when given the additional advantage of using an existing C ...
    (comp.lang.c)