delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/12/12/04:16:41

Message-ID: <001701be25b0$73ec7260$2ef8c6c3@johans-dator>
From: "Johan Henriksson" <johan DOT he AT telia DOT com>
To: <djgpp AT delorie DOT com>
Subject: Re: [Q]complex in djgpp
Date: Sat, 12 Dec 1998 10:18:59 +0100
MIME-Version: 1.0
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: ÀÌÁÖÇü <ljh AT khgw DOT info DOT samsung DOT co DOT kr>
Newsgroups: comp.os.msdos.djgpp
To: djgpp AT delorie DOT com <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 <complex.h>
>...
>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 <first use this function>
>
>How can I overcome this compile error.
>
>
>
>

What is a complex?

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019