Hi, I have a computer assignment due in three days and my codeblocks is not doing some expected things:
for one: it does not ignore comments following // for some reason. So //ajfdaskljfaskldjfaskld gives an error when clearly this is a comment (it is even highlighted gray, same colour as /* asdfas*/ but for some reason // does not get ignored.
for two: the for loop initial declaration used outside C99 mode??? what the heck is that? I tested with a simple for loop:
for (int i = 0; i < 5; i++)
{
printf ("%d", i);
}
and the error shows up beside the for loop.
So, I installed and re-installed the newest version with a complete install, and nothing has changed.
I'm running on Winodows Vista and I thought that was the problem but my friend's vista computer cb works just fine.
Please help! Thanks. :?