In my "defense", my confusion comes from errors like this:
Code:
#include <iostream>
using namespace std;
int main () {
int i,j;
int iarr[][2] = {{1,2},{3,4},{5,6},{7,8}};
int parr = iarr[0];
return 0;
}
I know the assignment "int parr = iarr[0]" is illegal -- it's here specifically to see the compiler's error message, which is:
"point.cc:7: error: invalid conversion from 'int*' to 'int'"
So the compiler states that the type of iarr[0] is 'int*', and I've been interpreting that as saying that iarr[0] is an int pointer. Apparently that is incorrect. So exactly what does it mean when the compiler calls something an 'int*'?