delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/03/05/08:49:50

Date: Wed, 5 Mar 1997 07:37:02 -0600 (CST)
From: Andrew Deren <aderen AT eecs DOT uic DOT edu>
To: Leon Busiello <lbusiello AT earthlink DOT net>
cc: djgpp AT delorie DOT com, sbusie01 AT utopia DOT poly DOT edu
Subject: Re: I really need help
In-Reply-To: <331D0A9F.16D1@earthlink.net>
Message-ID: <Pine.SUN.3.95.970305073534.25245A-100000@ernie.eecs.uic.edu>
MIME-Version: 1.0

To clear screan use:
#include <conio.h>
main()
{
clrscr();
return 0;
}

First clearscrean() is not a function to be called use clrscr(), second
the way you did it you define a function void clearscrean(void) instead of
calling it.

On Wed, 5 Mar 1997, Leon Busiello wrote:

> I am a brand new djgpp user and i can't get any special functions that 
> aren't in stdio.h to work.
> 
> 
> I wanted to clear the screen so I did this:
> 
> #include <conio.h>
> main()
> {
> void clearscreen(void);
> return 0;
> }
> 
> all it did was go to the next line. Can someone help? e-mail me at 
> sbusie01 AT utopia DOT poly DOT edu    thanx
> 

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019