delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/08/27/08:10:33

From: "Michael Stewart" <mike AT reggin DOT freeserve DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: help!-again-can't compile c-files in directory 'Test'
Date: Fri, 27 Aug 1999 10:33:06 +0100
Organization: (Posted via) Netcom Internet Ltd.
Message-ID: <7q5m0p$ejq$1@taliesin.netcom.net.uk>
References: <12sx3.13152$D93 DOT 306692 AT newscene DOT newscene DOT com>
NNTP-Posting-Host: hgty.capgemini.co.uk
X-Trace: taliesin.netcom.net.uk 935746393 14970 194.42.240.2 (27 Aug 1999 09:33:13 GMT)
X-Complaints-To: abuse AT corp DOT netcom DOT net DOT uk
NNTP-Posting-Date: 27 Aug 1999 09:33:13 GMT
X-Newsreader: Microsoft Outlook Express 4.72.3155.0
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0
Lines: 30
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Christian Schlüssel wrote in message
<12sx3.13152$D93 DOT 306692 AT newscene DOT newscene DOT com>...
>compiling following code -
>
>#include <iostream.h>
>#include <conio.h>
>
>int main()
>{
> clrscr();
> cout << "Hello world" << endl;
> return(0);
>}
>
>leads to following errors:
>
>D:\DJGPP\Projects>gcc -o test test.c
>test.c:1 iostream.h: No such file or directory <ENOENT>
>
>while iostream.h resides in DJGPP\Lang\Cxx
>
>***************************************************************************
*
>**************
>compiling upper code as c++ source works


Thats because it is C++ and not C


- Raw text -


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