C
Craig Joyce
Hi!,
I want to make a class that may do the following:
class T
{
......
}
int main()
{
T k = new T(3, 3);
/* k is now an array of 3, 3 integers */
k[2][1]=4; /* this is what I don't know how to do */
cout<<k[2][1];
return 0;
}
The trouble is that I don't know the keywords to search for to know
more about this. I thought 'base class' may be the way to describe
such a class so I posted it with the subject.
I hope someone helps this moron out,
-Craig
I want to make a class that may do the following:
class T
{
......
}
int main()
{
T k = new T(3, 3);
/* k is now an array of 3, 3 integers */
k[2][1]=4; /* this is what I don't know how to do */
cout<<k[2][1];
return 0;
}
The trouble is that I don't know the keywords to search for to know
more about this. I thought 'base class' may be the way to describe
such a class so I posted it with the subject.
I hope someone helps this moron out,
-Craig