Просмотр поста

.
reaper

Я мудак:
http://stackoverflow.com/quest ... array

The sizeof(NAME_OF_ARRAY) / 4 will give you back the number of elements for the given array name.