www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/08/20/18:00:29

From: "Herby" <ein_freund AT hotmail DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Error using clrscr()
Date: Sun, 20 Aug 2000 23:52:56 +0200
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
Lines: 30
Message-ID: <39a05374$0$14726@SSP1NO25.highway.telekom.at>
NNTP-Posting-Host: 62.46.232.55
X-Trace: newsreader01.vienna.highway.telekom.at 966808436 14726 62.46.232.55
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Following problem occured:

1st Pgm.Segment:
#include <conio.h>
main()
{
        clrscr();
        printf("Hello");
}

Result o.k.   No errors

If only another line is added like this:

#include <conio.h>
main()
{
        clrscr();
         int Zahl;
        printf("Hello");

}

The following error occurs:
Error: parse error before 'int'

What is here wrong ?



- Raw text -


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