I'm from Java, and new to c++.
Java can detect OutOfIndex exception at runtime, but in C++, out of index in array will cause unexpected result. Why is that? Will this bring any benefit?
I'm from Java, and new to c++.
Java can detect OutOfIndex exception at runtime, but in C++, out of index in array will cause unexpected result. Why is that? Will this bring any benefit?