struct MessaggioRete
{
enum CodiciRete cod;
char domanda[255];
unsigned short num;
};
il problema dell'array di char[255] è che dichiarando nel .h char domanda[255]; poi nel cpp non mi fa fare
msg.domanda="Nuovo gioco";
perchè dice che non può mettere un const char[12] in un char[255]
il compilatore dice: "src/Client.cpp:28: error: incompatible types in assignment of ‘const char [12]’ to ‘char [255]’