That line sets temporary variables x and y to 0, and does nothing else. So effectively, that constructor accomplishes nothing, even though you were able to get it to compile.
If you posted your...