by leovonl · 9y ago · 0 comments
It would be way less error-prone to calculate the number of elements using sizeof, for instance. This would also make the function independent of the type (a template could be used), thus reusable in another contexts.
No comments yet.