So what you are saying that is I should have a pointer like this "car *car_queue".
Type: Posts; User: Mogren3000
So what you are saying that is I should have a pointer like this "car *car_queue".
I posted an answer to that just now. Changed the struct to this:
typedef struct
{
char reg[25];
char brand[25];
int modelyear;
int mileage;
}car;
I have been fixing some code that didnt seem so right.
First i have changed "struct *car_queue" to "car *car_queue[QUE_SIZE]" and after that i added this to the main, "circular que".
So now i...
Hi. Iam stuck with how to make a circular queue that are based on a struct. Have been reading about the implementation but cant really understand it fully.
Here is what i got so far.
...