374 Subj : help on silly code To : borland.public.cpp.borlandcpp From : Abilio Marques Date : Wed Sep 08 2004 08:57 am Hi, I'm writting some code for a library. The program that uses this library, should use some tables to store the data. I want this tables and pointers to be initialized automatically when the programmer writes them. As size would be variable, I perform something like this: typedef struct { int sizeX; int sizeY; double *data; } fSet; and I spect to initialize it with something like this: fStet b = {2,2, {3,4, 5,6}}; Please forgive my silly question, but that doesn't works, but if I use char instead of double, like this: typedef struct { int sizeX; int sizeY; char *data; } fSet; fStet b = {2,2,"hello"}; gives no problem at all. What can I do? . 0