};
//This is declared later:
Flight f;
Node *n;
n = (Node*)malloc(sizeof(Node));
n-> next = start;
n-> g = f;
n-> num = flightnum;
start = n;
//As you can see I am trying to create an instance of the flight class in the Node but currently the program stops responding. I have included all the information to go into the flight class in another method.
Thanks