Hi, Warum kann ich mit dem GCC nicht folgenden Code Compilieren?
1 | struct StrukturName { |
2 | double d; |
3 | int i; |
4 | } StrukturVariable1 = { 1.1, 55}, StrukturVariable2 = { i = 1234, d = 31.22 }; |
Die "StrukturVariable1" alleine geht, nur bei "StrukturVariable2" gibt er die Fehlermeldung das er i und d nicht kennt. Error 2 'd' undeclared here (not in a function) Error 1 'i' undeclared here (not in a function) Kann mir da jemand helfen? Grüße, Sven