error: ‘for’ loop initial declarations are only allowed in C99 mode.

By | 17/01/2012

Some errors you might encounter when you compile with code::blocks.

One of many reasons is you have written code like:

To solve this error, just write code like this:

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.