a small parser problem

Hello,

I am very new to c++. I have this piece of code in cpp file (don't have it on h file):

MLP::MLP(ParameterParser &pp, int in, int out)
{
int hidden ;
float lrn, avg, std ;
hidden = pp.Int("hidden");
lrn = pp.Float("lrn");
avg = pp.Float("avg");
std = pp.Float("std");
Init(in, out, hidden, lrn, avg, std);
}

I keep on getting this error at the method entry:
C:\Dev-Cpp\ANN Exp\MLP.cpp expected `)' before '&' token
C:\Dev-Cpp\ANN Exp\MLP.cpp expected `,' or `;' before '&' token

What do you think I'm missing?

Thanks a lot
It seems that you forgot to include something.
Topic archived. No new replies allowed.