I can't get this simple C++ code to work:
int secInt = 5;
double rubbish = secInt/60;
double factor = floor(rubbish);
I always get "ERROR: initializer element is not constant" from line 3
Factor always returns 0.00 in the log
Could anyone help with this, I'm feeling that I overlooked something very simple.
An example of this error can be seen here: http://ideone.com/2Wrkr9