invalid index value Nuovo commento Alberto Tortella 2024.08.29 21:25 Hi all, I wrote this code but I have "invalid index value" error. input int N1 = 3 ; double TH[N1] ; If I write TH[3] the error is fixed. I don't understand the reason. Could you help me? Michele Catanzaro 2024.08.29 22:40 #1 Dichiara TH come array dinamico tipo: input int N1 = 3 ; double TH[] ; In seguito quando vai a lavorare con l'array, puoi usare TH[N1]; Alberto Tortella 2024.08.31 17:02 #2 Grazie Nuovo commento
Hi all, I wrote this code but I have "invalid index value" error.
If I write TH[3] the error is fixed.
I don't understand the reason.
Could you help me?