delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/01/15/05:40:03

Message-ID: <B0000063288@stargate.astr.lu.lv>
From: "Andris Pavenis" <pavenis AT lanet DOT lv>
To: Paul Richards <Paul AT dunvegan1 DOT demon DOT co DOT uk>, djgpp AT delorie DOT com
Date: Fri, 15 Jan 1999 12:38:56 +0200
MIME-Version: 1.0
Subject: Re: Complex Numbers not working
In-reply-to: <QqZC+AAA4in2Ew4j@dunvegan1.demon.co.uk>
X-mailer: Pegasus Mail for Win32 (v3.01d)
Reply-To: djgpp AT delorie DOT com

On 14 Jan 99, at 17:48, Paul Richards wrote:

> Hi,
> When I try a program like:
> 
> #include <complex>
> 
> void main(void) {
>  complex a;
> };
> 
> I get an error saying "complex undeclared from the compiler.  I looked
> at complex.h and it was almost empty.  So where is the proper complex.h
> kept or am I doing something else wrong?
> 

There is enough info in   lang/cxx/complex

Hint:   
	try    float_complex a1;
	         double_complex a2;
		  long_double_complex a3;

      or       complex <double>  a2;

- Raw text -


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