Hi,
There are a couple of obvious problems.
You may be used to C++ which has some different rules to C.
Try:
struct steering {
int P;
};
struct steering left;
left.P=0;
You need to repeat the keyword struct
in the declaration of the variable.
typedef struct
int x;
int yl
}new_struct;
new_struct.x = 0;
This is illegal for two reasons:
typedef struct does not create a variable but a type instead.
You also cannot have declarations after executable statements e.g.
int x;
x = 4;
int y; /* Illegal */
bye