All the variables used are declared in predictor.h.
When i execute this code(I didn't mention the whole code) the first time I print the value of 'historyLength' variable iam getting the correct value. But when Iam printing it in places labelled as 'one' and 'two' iam getting the value as 0.
Anybody please tell me why this is happening ?
Thanks in advance.