The issue is this: (0,0,1)
.
That is parentheses around the expression 0,0,1
, which evaluates to 1
. (The comma operator is an infix operator that evaluates the first and second expression and returns the second. In this case, you have two such operators.)
I don't know what you wanted there, but I'm guessing that isn't it.
EDIT: It seems you want Stats s(0,0,1)
.