i only know a few common idioms.
how many commonly used idioms are there in c.
these are the ones i can think of right now.
Code:
while((c=getchar()) != EOF	)
Code:
for(i=1;i < argc;i++)
    if((fp=fopen(argc[i],"r"))==NULL)
Code:
for(;;)
   /*endless*/
Code:
while(1)
{
/*endless*/
}