Вопрос

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

Это было полезно?

Решение

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

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top