Frage

Could someone outline how to use c99 when my c-programs compile? I cannot use the for(int i = 0...) loop without it. Note - all the answers I have found are either outdated, or for the cygwin compiler.

thanks in advance

War es hilfreich?

Lösung

In the project build settings set -std=c99 in the "Other flags" text box.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top