Hello,
I was coding this program to tell about loops on C and the compiler emitted this fatal error:
--> fatal error: Internal error: 'Access violation' at 0x00408325.
#include <stdio.h>
int main (void)
{
int i;
for (i = 0; i < 10000; i++)
{
if (i % 200 == 0)
{
printf("%d eh multiplo de 200\n", i);
break;
}
}
i = 1;
while (i < 10000)
{
if (i % 200 == 0)
{
printf("%d eh multiplo de 200\n", i);
break;
}
//i++; ----> The problem is here. Without the comment the compilation goes without error.
}
return 0;
}
I'm using the last Version 6.00 RC1. LCC-Win32 compiles it without errors.
Attached are the zipped project and a image an image with the error.