[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [CPROG] Complex.h



Mikael Rasmussen wrote:
> 
> Hejsa C-Slugger
> 
> Jeg ved ikke om der er liv her på listen men
> jeg prøver.
> 
> Jeg skal bruge complexe tal i et c++ program
> jeg har Noget der minder om flg.(frit fra huk.):
> 
> #include <complex.h>
> #include <stdio.h>
> 
> main () {
> complex comp_tal(1,5);
> printf ("comp. tal = (%g+%gi)", real(comp_tal), imag(comp_tal));
> }
> 
> Problemet er at den ikke kan finde biblioteket
> "complex.h"
> Måske er min bog for gammel (T.Glaven C++ prog. 1992) og
> biblioteket flyttet??

Tjaa måske eller også er den compiler du bruger ikke ISO C++
standardiseret.
Er complex forresten ikke røget over i math.h eller er det mig der
husker forkert? 


MVH
sslug@sslug


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 20:08 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *