I am trying to use the modules operator on the coordinates of my sprite (Spritex = Sprite.GetPosition().X % 16) and I am getting an error
Error: invalid operands of types 'const float' and 'int' to binary 'operator%'
I am on CodeBlocks and it doesnt matter what variable Spritex is, always getting an error
Help!
Popular Topics
Advertisement