Ah, SDL, you've done it again.Most modern day operating systems use a variation of a round robin approach when it comes to servici...
Help pleaseJust change this:
int values[SIZE]; // Array to hold values
trying to create two consectutive #'s where one is either odd and the other even or vice versaBtw to check to see if a number is even or odd you can do:
if( e % 2 != 0) // number is odd ...
Control the object's movementSo basically you need two velocity variables:
If else statementIn the total() function the returned float is final.
However in your code you don't put the returne...
This user does not accept Private Messages