Ask definition of a two-dimensional array , Xianxie ! I hope a lot of help

Category: VC/MFC -> Foundation Classes Author: xhjaiwind Date: 2008-02-27 06:09:37
 
xhjaiwind
2008-02-27 06:09:37
I want to define a two-dimensional array , such as   string   dataArray [n] [10]    , this n when the definition can not be determined only when the call dataArray can it dynamically increase , then the array how definition and dynamic allocation should be how to write ? Thank you ! !
geding0129
2008-02-27 06:41:31
char   (* data) [10]   =   new   char [n] [10];