Support Options

Submit a Support Ticket

Home Teaching Materials Playing with arrays in C++ About

Playing with arrays in C++

By David A Saenz

Purdue University

Published on


Two very simple examples on how to manage multidimensional arrays in C++. The compressed folder contains two examples. One on I/O of a 2D array and another on a 3D one. From these examples, an instructor or student can extend the technique for higher dimensional arrays.


NCN Project

Sponsored by

NCN Project, Purdue University


O'Reily, Practical C++ Programming

Cite this work

Researchers should cite this work as follows:

  • David A Saenz (2012), "Playing with arrays in C++,"

    BibTex | EndNote

Tags, a resource for nanoscience and nanotechnology, is supported by the National Science Foundation and other funding agencies. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the National Science Foundation.