From: Damian Yerrick Newsgroups: comp.os.msdos.djgpp Subject: Re: C++, complex, etc Organization: Pin Eight Software http://pineight.8m.com/ Message-ID: References: <392043B8 DOT D36FF32F AT earthlink DOT net> X-Newsreader: Forte Agent 1.7/32.534 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 29 X-Trace: /KDWjYo0q1CwNKo+0ImkriGICgLs+SkZfAKwtBYJPpx1q7cBIeEBx4WpsOLpVs8KkDeC78QbyLXB!zW6+PedJJvLkQacpZlByfCRqiqJMelY40QUBjbsAVvKAWSGPw7yuooEjnmYDp/lN5GF6/psOvqvt!+2pL8+k= X-Complaints-To: abuse AT gte DOT net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly NNTP-Posting-Date: Mon, 15 May 2000 22:24:26 GMT Distribution: world Date: Mon, 15 May 2000 22:24:26 GMT 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 18:36:10 GMT, Martin Ambuhl wrote: >Eli Zaretskii wrote: > >> Can someone who knows please tell whether double_complex etc. types are >> standard C++? > >They are not. The standard library does provide specializations for >complex, complex, and complex, but these do not >include any aliasing typedefs. Put this in your header: #ifdef /* insert whatever Borland identifies itself as */ typedef complex komplex; #else typedef complex komplex; #endif Then just use `komplex' for your complex numbers. -- Damian Yerrick "I refuse to listen to those who refuse to listen to reason." See the whole sig: http://www.rose-hulman.edu/~yerricde/sig.html This is McAfee VirusScan. Add these two lines to your signature to prevent the spread of signature viruses. http://www.mcafee.com/