The Minute ends up going to 0:59 instead of 4:59. And I also tried a variableMinute.textNumber = Minute.textNumber - 1
It did the same thing as well. So anyone please help.if (minutes = 1)...
The Minute ends up going to 0:59 instead of 4:59. And I also tried a variableMinute.textNumber = Minute.textNumber - 1
It did the same thing as well. So anyone please help.if (minutes = 1)...
Warning: Line 1: Suspicious pointer conversion
Warning: Line 2: Suspicious pointer conversion
Error: Line 3: Cannot apply inc/dec
seconds.textNumber = seconds.textNumber - 1;
if (seconds.textNumber < 0)
{
seconds.textNumber = 59;
Minute.textNumber = Minute.textNumber - 1;
}
seconds.textNumber -=1;
if (seconds.textNumber <= 0) {
seconds.textNumber = 59;
Minute.textNumber -= 1;
}
seconds.textNumber = 59;
Minute.textNumber = 60;
Users browsing this forum: No registered users and 1 guest