Next: Walking a linked Up: Idiomatic C Previous: bitcount()

Skip white space

   char s[];

   for (i = 0;  isspace(s[i]);  i++)   ;

Note: use of an empty body to the loop: the work is done within the for header.



Next: Walking a linked Up: Idiomatic C Previous: bitcount()


maspjw@
Tue Sep 27 15:29:34 BST 1994