typedef struct trans * Trans;
typedef struct state{
int f;
char label[20];
trans * TrasitionsArray[10];
}state;
struct trans{
state * from;
state * to;
char label;
};
void main(){
state StatesArray[100];
}
(state --- tratition --- to --- label)の値を指定するにはどうすればよいですか?
私はこれを試しましたが失敗しました:
strcpy(StatesArray[i].TrasitionsArray[j]->to->label,"blahblah");