From: Eli Zaretskii 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: NNTP-Posting-Host: ras1-p49.rvt.netvision.net.il Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 > 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.