delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/01/27/14:02:42

From: "Osah" <osah AT geneva-link DOT ch>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Help on clrscr...
Date: Thu, 27 Jan 2000 09:04:35 +0100
Organization: sunrise communications ag
Lines: 13
Message-ID: <86ou1o$s5v$1@news1.sunrise.ch>
References: <20000127000427 DOT 13141 DOT 00000223 AT ng-cj1 DOT aol DOT com>
NNTP-Posting-Host: pop-ls-09-1-dialup-11.freesurf.ch
X-Trace: news1.sunrise.ch 948960120 28863 194.230.235.11 (27 Jan 2000 08:02:00 GMT)
X-Complaints-To: usenet AT sunrise DOT ch
NNTP-Posting-Date: 27 Jan 2000 08:02:00 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

> #include <conio.h>
>
> int main() {
>    clrscr;
>    return 0;
> };

Nice try. Where is the "()" after clrscr ie clrscr();
also your last "}" after return 0; should not have ";"

Now your program should work just fine.  :-)


- Raw text -


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