//sample usage
for(j=0; j<height; j++)
{
for(int i=0; i<width; i++)
{
//use as per needed
array_2d[j][i] = 0; //set all to 0
}
}
// In C/C++ deleting memory
// is user's responsibility (unlike Java)
for(j=height-1; j>= 0; j--)
delete[] array_2d[j]; //delete rows
delete[] array_2d;//delete the poiter to pointer
//## End of code
*******************************************************
*******************************************************
> -List books on a given subject or author in alphabetical order--
C - Kernighan and Richie
C++ - Stroustrup
(both are the creators of the respective languages so the books are a
bit advanced)
> I'm totally buffed. I don't even know where to start.--
You have reached the right place :)
> All help will be appreciated.--
Hope that helped..!
--
warm regards,
Divya Rathore
(remove underscores for email ID)