Message-ID: <001701be25b0$73ec7260$2ef8c6c3@johans-dator> From: "Johan Henriksson" To: Subject: Re: [Q]complex in djgpp Date: Sat, 12 Dec 1998 10:18:59 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.1 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Reply-To: djgpp AT delorie DOT com from Johan Henriksson Primary: johan DOT he AT telia DOT com Second: jhe75 AT hotmail DOT com Third: johan_he AT yahoo DOT com HTTP://come.to/jhewok -----Original Message----- From: ÀÌÁÖÇü Newsgroups: comp.os.msdos.djgpp To: djgpp AT delorie DOT com Date: Saturday, December 12, 1998 3:40 AM Subject: [Q]complex in djgpp >I want to compile this program types. > >/* main.C */ >#include >... >int main(void) >{ > complex a,b,c; > b=sin(a) > c=a+b; >.... >} > >BUT > >commnad : > g++ -c main.C > >error messange : > main.C:81 'complex' undeclared > >How can I overcome this compile error. > > > > What is a complex?