delorie.com/archives/browse.cgi | search |
From: | Sinan_Unur AT mail DOT com (A. Sinan Unur) |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: Error using clrscr() |
Date: | 21 Aug 2000 02:15:22 GMT |
Organization: | Cornell University |
Lines: | 44 |
Sender: | verified_for_usenet AT cornell DOT edu (asu1 on ip103.ithaca.ny.pub-ip.psi.net) |
Message-ID: | <8F96E776CASINANUNUR@132.236.56.8> |
References: | <39a05374$0$14726 AT SSP1NO25 DOT highway DOT telekom DOT at> |
NNTP-Posting-Host: | ip103.ithaca.ny.pub-ip.psi.net |
X-Trace: | news01.cit.cornell.edu 966824122 20794 38.10.16.103 (21 Aug 2000 02:15:22 GMT) |
X-Complaints-To: | usenet AT news01 DOT cit DOT cornell DOT edu |
NNTP-Posting-Date: | 21 Aug 2000 02:15:22 GMT |
User-Agent: | Xnews/03.04.11 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
ein_freund AT hotmail DOT com (Herby) wrote in <39a05374$0$14726 AT SSP1NO25 DOT highway DOT telekom DOT at>: >Following problem occured: you have to choose between C or C++. if you are going to use C++, then you should name your files with the appropriate extension so gcc will know which parser to use. >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 ? > > > -- -------------------------------- A. Sinan Unur http://www.unur.com/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |