Dear alls,
I'm a new user in Labwindowsand I've problem with the Structs,
I would like to make (and use) a struct
typedef struct
{
char mau[30];
double valor;
} estructura;
estructura *estruc[10];
But I don't know what happens, It isnot working properly.
I would like to define a struct with
double valor and char mau[30].
But after to this, I need 10 times of this struct (I don't know if Is it clear?).
For example, Is it possible to use:
estruc[1]->mau="Test";
estruc[1]->valor=123.12;
estruc[2]->mau="Test2";
estruc[2]->valor=999.99;
Do I need the malloc