www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/04/01/06:25:11

Message-Id: <MAILQUEUE-101.960401131654.288@merlin.e-technik.uni-erlangen.de>
From: "Michael Schuster" <SCHUSTER AT merlin DOT e-technik DOT uni-erlangen DOT de>
Organization: LS f. Elektrische Energieversorgung
To: djgpp AT delorie DOT com
Date: Mon, 1 Apr 1996 13:16:54 MET
Subject: Complex numbers

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 <stdio.h>
#include <math.h>
#include<complex.h>
Void main()
{   Complex c1;
    c1.re=10;
}

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
----------------------------------------------------------------------

- Raw text -


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