The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

ancientlore (4) [Avatar] Offline
Wanted to post a minor correction for page 71. Not all C++ arrays are jagged arrays. For instance:

int xarr[5][4][2];

The size is 160, a contiguous memory block for a multidimensional array. The standard C++ notation for arrays makes it really easy to confuse jagged and multidimensional arrays. A jagged array by definition would need to have an array of pointers somewhere, to point to the other sub-arrays. C++ supports both mechanisms.