![]() |
#2
pangding2012-10-06 04:43
|
請問BCB6或STL裡用哪種容器比較合適,下面有我目前建的結構體。
只有本站会员才能查看附件,请 登录

typedef struct {
std::string fileName;
int width;
int height;
int depth;
unsigned char *pData;
} PictrueData;
typedef struct {
std::map <int, PictrueData *> personalPictrueData;;
} PictrueGroup;
std::map <int, PictrueGroup *> totalPictrueData;
std::string fileName;
int width;
int height;
int depth;
unsigned char *pData;
} PictrueData;
typedef struct {
std::map <int, PictrueData *> personalPictrueData;;
} PictrueGroup;
std::map <int, PictrueGroup *> totalPictrueData;