In the book, there is a note trying to explain what's equivalent in C++ to
Expand|Select|Wrap|Line Numbers
- double[][] balance = new double[10][6]; // Java
Expand|Select|Wrap|Line Numbers
- double balance[10][6];
Expand|Select|Wrap|Line Numbers
- double (*balance)[6] = new double[10][6];
Expand|Select|Wrap|Line Numbers
- double** balance = new double* [10];
I am learning c++ without a teacher and have no where to turn to. Arrays and pointers are getting very confusing. Your help is highly appreciated.