Loops/Foreach: Difference between revisions
Content added Content deleted
BrianFennell (talk | contribs) No edit summary |
BrianFennell (talk | contribs) mNo edit summary |
||
Line 316: | Line 316: | ||
Most general: string or array as collection (collection size known at run-time) |
Most general: string or array as collection (collection size known at run-time) |
||
: ''Note: idxtype can be removed and [http://gcc.gnu.org/onlinedocs/gcc/Typeof.html typeof |
: ''Note: idxtype can be removed and [http://gcc.gnu.org/onlinedocs/gcc/Typeof.html typeof(col[0])] used in it's place with [[GCC]]'' |
||
<lang c> |
<lang c> |
||
#include <stdio.h> |
#include <stdio.h> |