Tipedef,struct and my catalog

I'm trying to use this code:

typedef struct param{     // define new type tipo t_param
  char descr[30];
  byte ssbg;
  byte cwg;
  byte minimo;
  byte massimo;
  float moltiplica;
 
} t_param;

t_param param={"Denoiser",20,40,1,255,0.1}; // type struct { data } is ok!

t_param p_user[100];  // create catalog of param


void setup() {

[b]p_user[0].descr="Denoiser";[/b]  // ERROR : incompatible types in assignment of 'const char [9]' to 'char [30]'
p_user[0].massimo=254;

Serial.begin(9600);  // Initialise the Serial port

//Serial.print (p_user[0].descr);

Serial.print (" : ");

Serial.print(p_user[0].massimo,DEC);
}

I can not understand why I have this error!
How should i do?
Thanks in advance for any suggestions.

p_user[0].descr="Denoiser";  // ERROR : incompatible types in assignment of 'const char [9]' to 'char [30]'

You can not assign a value to a char array like that; try a strcpy()

strcpy(p_user[0].descr, "Denoiser");

How much memory do you have in your Arduino?

t_param p_user[100];

That line tries to create a memory structure 3800 bytes in size on a device with 2k of RAM (I guess you're using the Arduino UNO because you haven't specified differently).

I can not understand why I have this error!

What's "this error" exactly? Don't let us guessing.

Thank's. I have Arduino DUE.
My intent is to create a catalog with constant data and transfer them to 24LC256.
This data will not be changed.
You would have to suggest some other solution?

Simon_C:
You would have to suggest some other solution?

See reply #1.