1
I made a matrix[day][time], but I get error when initializing it.
I get that mistake and I don’t know how to fix it
error: expected ':', ',', ';', '}' or 'attribute' before '=' token
The code is like this:
struct horario{
char M[8][40] = {{"X 8 9 10 11 12 13 14 15 16 17 18 19 20"},
{"S"},
{"T"},
{"Q"},
{"Q"},
{"S"},
{"S"},
{"D"} };
};
Thanks, it worked!
– Gabriel Leite