From: Mike Gee Newsgroups: comp.os.msdos.djgpp Subject: Re: C++, complex, etc Date: Mon, 15 May 2000 03:39:48 +0300 Organization: Alkar-Teleport News server Lines: 27 Message-ID: References: <391F1402 DOT 31B7D4A6 AT mtu-net DOT ru> <391F289E DOT CB26D14C AT mtu-net DOT ru> NNTP-Posting-Host: m0.dsma.dp.ua Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Newsreader: Forte Agent 1.8/32.548 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Mon, 15 May 2000 02:28:46 +0400, "Alexei A. Frounze" wrote: >I tried your suggestions, but the error is still the same. > >Compiler points to the line where I try to define that complex variable. > >No matter how I define it: > complex j = complex (0,1); >or > complex j(0,1); > >I have still the same problem. "complex" is an unknown thing, although I >have a lot of include files for complex math: complex.h, complex, >complext.h, ... oh my. did you run through visual_grep? float_complex, not complex. Or double_complex, or long_double_complex Or you can use the trick from C++3ed with typedefing float_complex as complex best regards Mike