www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/12/29/14:23:33

Message-ID: <B0000025685@nordhorn.de>
Date: Wed, 29 Dec 1999 19:07:02 +0100
From: Jens Luedicke <jens AT irs-net DOT com>
To: djgpp AT delorie DOT com
Subject: Sample C++ Source ... Problems
X-Mailer: AK-Mail 3.1 publicbeta2 [ger] (unregistered)
Mime-Version: 1.0
Reply-To: djgpp AT delorie DOT com

Hi there....

<snip>
#include <iostream>
using namespace std;

int main()
      {
       cout << "Hi there....";
       return 0;
      }
</snap>

When I try to compile the above C++ source with djgpp:

gcc -Wall hi.cc -o hi.exe

I get an error-message. Why ??

Jens Luedicke <jens AT irs-net DOT com>  // YAPW32H
======================================================================
				     >> Remove NO-SPAM to reply!
	  			     >> PGP-Keys: pgp-keys AT irs-net DOT com
======================================================================
perl -e unlink("microsoft")

- Raw text -


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