I emailed earlier having problems using the quadpack. I think
perhaps the problem is not with my program, after looking at
the examples. Here is a simple program that seems (to me) like
it should run:
#include <oxstd.h>
#include <quadpack.h>
f(x);
main()
{
decl a, b, c;
QNG(f, 0, 1, &a, &b);
print("a = ",a, " b = ", b);
}
f(x){
x = x^2;
return x;
}
The error msg that it gives me is:
>Link error: 'quadpk' cannot load dll
>Link error: 'QNG' undefined function
For some reason it is trying to load a dll file. I am running
this on a SUN Ultra which to my knowledge does not use dll files.
Am I just being dumb?
Brian Caffo
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|