Simulating Multidimensional Arrays Using Vectors

Although you can allocate multidimensional arrays manually, as in:

 int (*ppi) [5]=new int[4][5]; // parentheses required // fill arrayppi[0][0] = 65;ppi[0][1] = 66;ppi[0][2] = 67;//

Share the Post:
Share on facebook
Share on twitter
Share on linkedin

Overview

Recent Articles: