delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/05/15/18:46:53

From: Jason Green <news AT jgreen4 DOT fsnet DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: C++, complex, etc
Date: Mon, 15 May 2000 23:34:08 +0100
Organization: Customer of Planet Online
Lines: 10
Message-ID: <uju0iss7et0fjadlcokkcromgv880vmsdg@4ax.com>
References: <391F1402 DOT 31B7D4A6 AT mtu-net DOT ru> <bqfuhso38mddrcom1noc240qjdj1fa4s5i AT 4ax DOT com> <391F4A04 DOT 176163E5 AT mtu-net DOT ru> <18t0is0nmf2ceu5btrqp5rb9cfmfg8kki5 AT 4ax DOT com>
NNTP-Posting-Host: modem-29.lawrencium.dialup.pol.co.uk
Mime-Version: 1.0
X-Trace: newsg3.svr.pol.co.uk 958430114 5667 62.136.71.29 (15 May 2000 22:35:14 GMT)
NNTP-Posting-Date: 15 May 2000 22:35:14 GMT
X-Complaints-To: abuse AT theplanet DOT net
X-Newsreader: Forte Agent 1.7/32.534
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Jason Green <news AT jgreen4 DOT fsnet DOT co DOT uk> wrote:

> You could try using a typedef to fool Borland C++ into accepting code
> using the STL complex type:
> 
> typedef std::complex<double> complex;

Oops! Spot the deliberate mistake. ;-)

That typedef should let you use Borland code under DJGPP.

- Raw text -


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