Hi, I am trying to initialize a struct, but I get the following error:
Error #29: Expected an expression
typedef struct { atp V1; atp V2; atp V3; atp V4; } tosh_at; tosh_at tosh_options ={ .V1 = 12, .V3 = 5, };
Can someone please help me. Thanks in advance.
First try the most basic google search about how to initialize structures.
I already did and just found a solution to initialize all variables
tosh_at tosh_options ={12,10,5,2};
But I want to initialize just two of them.