delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/02/05/14:39:51

From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: how to compile c++ program
Date: Sat, 05 Feb 2000 20:45:38 +0200
Organization: NetVision Israel
Lines: 12
Message-ID: <389C6FD2.1274D1A6@is.elta.co.il>
References: <s9omfmhq98e9 AT corp DOT supernews DOT com>
NNTP-Posting-Host: ras1-p49.rvt.netvision.net.il
Mime-Version: 1.0
X-Trace: news.netvision.net.il 949776361 15647 62.0.172.51 (5 Feb 2000 18:46:01 GMT)
X-Complaints-To: abuse AT netvision DOT net DOT il
NNTP-Posting-Date: 5 Feb 2000 18:46:01 GMT
X-Mailer: Mozilla 4.7 [en] (Win98; I)
X-Accept-Language: en,ru,hebrew
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

mukt1000 wrote:
> 
>   //  hello.cpp
>     #include <iostream.h>
>    void main ()
>  {
>   cout<<"helo world"; file://or printf("hello world");
>  }
> 
>  command line: d:\djgpp\bin:\> gcc hello.cpp  produces lots of errors;

It's in the FAQ: use "gpp hello.cpp" to compile C++ programs.

- Raw text -


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