Hallo,
warum funktioniert ein Zugriff auf ein Element eines std::arrays nicht, sobald der Datentyp ein struct ist? Warum gibt es plötzlich Probleme mit Integer Elementen? Ein cast hilft auch nicht. Zuerst auf dem AVR probiert. Dann in CodeBlocks. Will nicht. Was ist daran falsch?
1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
Was funktioniert:
1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
Aber mit Struktur nicht mehr.
1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 |
|
17 |
|
18 |
|
19 |
|