Z
zqiang320
I have a structure which constructor have a Function pointor as
paramter, But I can't compile it, Could somebody help me check it, I
have post a topic earlier, and Alf P. Steinbach have give me some
advice, I post a simple code here, Could somebody help me check it ?
Thank you very much!
void figauss(const int x, int &a, int &y, int &dyda){
};
struct Fitmrq {
void (*funcs)(const int, int &, int &, int &);
Fitmrq(int &xx, int &yy, int &ssig, int &aa,
void funks(const int,int &, int &, int &), const double
TOL=1.e-3) {
}
};
int main()
{
int xx;
int yy;
int ssigg;
int a;
void fgauss(const int, int , int , int );
Fitmrq mrq(xx,yy,ssigg,a,fgauss,0.000001);
return 1;
}
paramter, But I can't compile it, Could somebody help me check it, I
have post a topic earlier, and Alf P. Steinbach have give me some
advice, I post a simple code here, Could somebody help me check it ?
Thank you very much!
void figauss(const int x, int &a, int &y, int &dyda){
};
struct Fitmrq {
void (*funcs)(const int, int &, int &, int &);
Fitmrq(int &xx, int &yy, int &ssig, int &aa,
void funks(const int,int &, int &, int &), const double
TOL=1.e-3) {
}
};
int main()
{
int xx;
int yy;
int ssigg;
int a;
void fgauss(const int, int , int , int );
Fitmrq mrq(xx,yy,ssigg,a,fgauss,0.000001);
return 1;
}