home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: sparky!uunet!wupost!m.cs.uiuc.edu!sunb10.cs.uiuc.edu!sparc6.cs.uiuc.edu!pjl
- From: pjl@sparc6.cs.uiuc.edu (Paul Lucas)
- Subject: Re: Question: Complex Arrays
- Message-ID: <1992Aug17.140946.9035@sunb10.cs.uiuc.edu>
- Sender: news@sunb10.cs.uiuc.edu
- Organization: University of Illinois at Urbana-Champaign
- References: <92230.130533K3006E7@ALIJKU11.BITNET>
- Date: Mon, 17 Aug 1992 14:09:46 GMT
- Lines: 15
-
- In <92230.130533K3006E7@ALIJKU11.BITNET> <K3006E7@ALIJKU11.BITNET> writes:
-
- >I am new to C++ so please forgive me if these questions are irritatingly
- >elementary. But if anyone could offer suggestions or answers, I would
- >greatly appreciate it!
-
- >In my program, I already 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?
-
- complex foo[4];
- --
- - Paul J. Lucas University of Illinois
- AT&T Bell Laboratories at Urbana-Champaign
- Naperville, IL pjl@cs.uiuc.edu
-