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