構造内の配列に値を割り当てるのに助けが必要です。あなたの助けは大歓迎です:
typedef struct _temp_t {
int16_t _values[4];
} TEMP_T;
void func() {
TEMP_T *temps;
int x = 5;
temps._values[0] = x;
}
エラーが発生しました:
...src/rodm/ucdCom.c:512: error: request for member '_values' in something not a structure or union
あなたの助けは大歓迎です!