[praetorian]
Aug 23rd, 2001, 03:47 PM
hello!
Anybody knows exactly why a 2-dimensional vector have to be used as a pointer to that one when you declare it and later on, you just can use it like a normal vector......any ideas?
example:
char *months[3][12] =
{
{bla............blah..........},
{bla............blah..........},
{bla............blah..........},
};
.
.
.
cout << months[3][1];
/praetorian
Anybody knows exactly why a 2-dimensional vector have to be used as a pointer to that one when you declare it and later on, you just can use it like a normal vector......any ideas?
example:
char *months[3][12] =
{
{bla............blah..........},
{bla............blah..........},
{bla............blah..........},
};
.
.
.
cout << months[3][1];
/praetorian