Dividing add value in a += statement makes it not add at all

Im doing

XPos += (1 / 16);

And adding the

/ 16

makes it not add at all. What am I doing wrong?

When performing integer division, 1/16 = 0. You want floating point:

XPos += (1.0f / 16.0f);