From: Jason Green Newsgroups: comp.os.msdos.djgpp Subject: Re: C++, complex, etc Date: Mon, 15 May 2000 23:21:50 +0100 Organization: Customer of Planet Online Lines: 14 Message-ID: <18t0is0nmf2ceu5btrqp5rb9cfmfg8kki5@4ax.com> References: <391F1402 DOT 31B7D4A6 AT mtu-net DOT ru> <391F4A04 DOT 176163E5 AT mtu-net DOT ru> NNTP-Posting-Host: modem-90.sulfur.dialup.pol.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news7.svr.pol.co.uk 958429373 31454 62.136.15.90 (15 May 2000 22:22:53 GMT) NNTP-Posting-Date: 15 May 2000 22:22:53 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 "Alexei A. Frounze" wrote: > Yours compiles. Do I always have to specify actual type of real and > imaginary parts of a complex number that way, e.g. // double>? Yes, if you want your code to be standards compliant. You could try using a typedef to fool Borland C++ into accepting code using the STL complex type: typedef std::complex complex; This is probably something to ask in a Borland support forum.