Date: Mon, 01 Apr 1996 15:30:54 +0200 (MET DST) From: "Christoph P. Kukulies" Subject: Re: Complex numbers In-reply-to: To: SCHUSTER AT merlin DOT e-technik DOT uni-erlangen DOT de (Michael Schuster) Cc: djgpp AT delorie DOT com Reply-to: Christoph Kukulies Message-id: <199604011330.PAA04575@gilberto.physik.rwth-aachen.de> MIME-version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7bit > > > Gruess Euch! > > I' got a problem: > I wanted to use complex numbers with a programme (see below). > But I didn't manage to compile it.- I tried it with -lm, -lgpp, -O ... > and have no idea what to do, although 'complex.h' is in the include > directory. > > Any idea? > > #include > #include > #include > Void main() > { Complex c1; > c1.re=10; > } > Without information about the error message you are getting I can only guess where possible problem could lie: 1) Void is written void. 2) Is Complex really written that way? Is it a typedef? I don't have my djgpp installation here handy so I don't know what is in complex.h. > Michi > --------------------------------------------------------------------- > Dipl.-Ing * * * * * * * * > Michael Schuster * * * * > Lehrstuhl fuer * * * * * * * * > Elektrische Energieversorgung * * * * > Friedrich Alexander Universitaet Erlangen * * * * * * * > Cauerstrasse 4 > TEl:(0)9131 85 8762 Fax:(0)9131 85 9541 > ---------------------------------------------------------------------- > > --Chris Christoph P. U. Kukulies kuku AT gil DOT physik DOT rwth-aachen DOT de