
Search found 2 matches
- Mon Oct 28, 2002 2:22 pm
- Forum: Volume 103 (10300-10399)
- Topic: 10378 - Complex Numbers
- Replies: 25
- Views: 16065
10378

- Mon Oct 28, 2002 10:17 am
- Forum: Volume 103 (10300-10399)
- Topic: 10378 - Complex Numbers
- Replies: 25
- Views: 16065
10378
I can't find any bugs... :(
Can anybody help me ?
[cpp]
#include <stdio.h>
#include <math.h>
#include <stdlib.h>
#define M_PI 3.1415926535897932384626433832795
struct my_compl
{ double real,imag; };
double a,b,n;
my_compl roots[101];
double sqr(double arg)
{
return arg*arg;
}
int sort_func ...
Can anybody help me ?
[cpp]
#include <stdio.h>
#include <math.h>
#include <stdlib.h>
#define M_PI 3.1415926535897932384626433832795
struct my_compl
{ double real,imag; };
double a,b,n;
my_compl roots[101];
double sqr(double arg)
{
return arg*arg;
}
int sort_func ...