home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!news.univie.ac.at!alijku11!k3006e7
- Organization: Johannes Kepler University Linz - Computing Center
- Date: Monday, 17 Aug 1992 14:12:40 CDT
- From: <K3006E7@ALIJKU11.BITNET>
- Message-ID: <92230.141240K3006E7@ALIJKU11.BITNET>
- Newsgroups: comp.lang.c++
- Subject: Que: Double-Precision Complex Arrays
- Lines: 18
-
- I am new to C++, so please forgive me if these questions are
- irritatingly elementary. But if anyone would offer suggestions
- or answers, I would greatly appreciate it!
-
- 1) In my program, I have included <complex.h> that comes with
- the C++ package. But when I try to create an array of complex
- numbers, the compiler issues an error. How does one declare a
- complex array?
-
- static complex array_name[2][2];
-
- doesn't work, for example.
-
- 2) How does one declare double precision complex numbers? And
- double precision complex arrays? Does one have to fiddle with
- the complex.h file itself in order to get double precision?
-
- Any help would be really appreciated. Thanks, Myron Seto
-