So we were going over how to pass arrays to functions in my C++ class the other day, and the teacher says "By default, C++ passes arrays by reference." I go "wtf, no it doesn't." After a few minutes ...
I need a fairly large 3-dimensional array of long longs (64-bit integers). It's dimensions are 64x2x6. If I try to initialize the array without malloc'ing(), I get a segfault.<BR><BR>I know, I should ...