Livzz
New Member
hey,
i got dev-C++ (ver 4.9.9.2), which is a really good program... but it wont compile the following code... which i know is good. It comes up with the message:
'for' loop initial declaration used outside C99 mode
for (int i = 0; i < length; i++)
{
printf("%c %c \n", argv[1] ,rotate(argv[1]));
}
help?!
cheers,
Paul
i got dev-C++ (ver 4.9.9.2), which is a really good program... but it wont compile the following code... which i know is good. It comes up with the message:
'for' loop initial declaration used outside C99 mode
for (int i = 0; i < length; i++)
{
printf("%c %c \n", argv[1] ,rotate(argv[1]));
}
help?!
cheers,
Paul