c++ - How do I find the length of an array? - Stack Overflow
+1 for vectors. There's very few strong cases to be using the old-style C++ arrays any more. Unless the size of the array is never going to change, but even then, you should use the array container class instead. It's better to use a container class like ...