ARRAYS Extremely simple examples of array use. The point here is that C++ does not seem to allow a simple use of dynamic multidimensional arrays. However, there is a workaround. Maybe this will get fixed in C+++ The array A: 0 500 1 501 2 502 3 503 4 504 5 505 6 506 7 507 8 508 9 509 The array B: 0 500 1 501 2 502 3 503 4 504 5 505 6 506 7 507 8 508 9 509 The array C: 0 0 11 1 0 21 2 0 31 3 0 41 4 0 51 0 1 12 1 1 22 2 1 32 3 1 42 4 1 52 0 2 13 1 2 23 2 2 33 3 2 43 4 2 53 0 3 14 1 3 24 2 3 34 3 3 44 4 3 54 0 4 15 1 4 25 2 4 35 3 4 45 4 4 55 The array D: 0 0 11 1 0 21 2 0 31 3 0 41 4 0 51 0 1 12 1 1 22 2 1 32 3 1 42 4 1 52 0 2 13 1 2 23 2 2 33 3 2 43 4 2 53 0 3 14 1 3 24 2 3 34 3 3 44 4 3 54 0 4 15 1 4 25 2 4 35 3 4 45 4 4 55 0 5 16 1 5 26 2 5 36 3 5 46 4 5 56 0 6 17 1 6 27 2 6 37 3 6 47 4 6 57