The test is i<max || ignoremax. My idea is that the loop goes a certain number of times, unless the user desires to have it loop infinitely. That's why i can overflow.
Richard
Type: Posts; User: Richardcavell
The test is i<max || ignoremax. My idea is that the loop goes a certain number of times, unless the user desires to have it loop infinitely. That's why i can overflow.
Richard
Hi, everyone. I have the following loop:
unsigned int i;
const unsigned int max = 10;
bool ignoremax = // true or false
for (i=1;i<max || ignoremax; i++)
{
printf ("This is loop number...