From: "Lavadome" Newsgroups: comp.os.msdos.djgpp References: Subject: Re: how to compile c++ program Date: Sat, 5 Feb 2000 22:12:18 -0600 Lines: 41 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 NNTP-Posting-Host: news.uncensored-news.com Message-ID: <389cf542_1@news.uncensored-news.com> Organization: Uncensored-News.Com $8.95 Uncensored Newsgroups. X-Report-Abuse-To: abuse AT uncensored-news DOT com To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "mukt1000" wrote in message news:s9omfmhq98e9 AT corp DOT supernews DOT com... > Hi, > I 'm a new c programmer, I use Djgpp (v2.02) and now I want to jump c++ , > I know Djgpp is already a c++ compiler,but I cant even compile a hello > world program with it; > > // hello.cpp > #include > void main () > { > cout<<"helo world"; } // hello.cpp #include using namespace std; int main() { cout << "Hello world!" << endl; return(0); } try that > > command line: d:\djgpp\bin:\> gcc hello.cpp produces lots of errors; > I tried all of the possibilities but compiler doesnt compile cpp files. > > PS:using win98; I have GPP****.zip > > Thanks. > > T1000 > > ______________________________________________________________ Posted via Uncensored-News.Com, http://www.uncensored-news.com Only $8.95 A Month, - The Worlds Uncensored News Source