Skip to content

Instantly share code, notes, and snippets.

@a-yasui
Created November 29, 2012 10:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save a-yasui/4168014 to your computer and use it in GitHub Desktop.
Save a-yasui/4168014 to your computer and use it in GitHub Desktop.
C99 for loop
/* gcc -std=c99 -o for for.c
*
* -std=c99 で c99 文法としてコンパイル
* ex: http://seclan.dll.jp/c99d/
*/
#include <stdio.h>
int
main (void)
{
for (int i = 0; i < 100; i++) {
printf("hellow world%d\n", i);
}
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment