22.07.2015, 08:44
Regarding 3.: This is needed for compatibility reasons. A C++ array is not a POD structure, however a C array is. Since you are passing an array to a C function, the C function expects a C array.
I also edited my last post, just so you know.
I also edited my last post, just so you know.