Basically this is part of a big piece of coursework but I cant get my head round one bit
I have these declaration
typedef struct{
int name;
int at;
int nut;
char status;
struct process *next;
}process;
process pro[30];
process* queueLines[30];
When a process satisfies a condition it is moved onto queue zero defined as queLines[0],
I want queLines[0] to point to the first process that is added and then that process to point to the next one, and this will continue.
Are the declarations correct for a start ?
I have these declaration
typedef struct{
int name;
int at;
int nut;
char status;
struct process *next;
}process;
process pro[30];
process* queueLines[30];
When a process satisfies a condition it is moved onto queue zero defined as queLines[0],
I want queLines[0] to point to the first process that is added and then that process to point to the next one, and this will continue.
Are the declarations correct for a start ?