你真是坏心眼,来我们C++捣乱,呵呵。你希望的正是我不希望的,
" target="_blank">[glow=255,red,2]wfpb的部落格[/glow] 学习成为生活的重要组成部分!
main()
{
char **myArray; // eek, char ** because myArray is a pointer to a
// pointer to a character (an array of arrays...)
myArray = new char * [8]; // allocate the rows
for (int row = 0; row < 8; row++) // now allocate the columns
myArray[i] = new char [5];
}