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

From: "mukt1000" <mukt1 AT hotmail DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: how to compile c++ program
Date: Sat, 5 Feb 2000 19:12:52 +0200
Organization: Posted via Supernews, http://www.supernews.com
Lines: 22
Message-ID: <s9omfmhq98e9@corp.supernews.com>
X-Complaints-To: newsabuse AT supernews DOT com
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2417.2000
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie 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 <iostream.h>
   void main ()
 {
  cout<<"helo world"; file://or printf("hello world");
 }

 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


- Raw text -


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