I'm learning c++ and my project is about queues.
I have :
struct dough {
string code;
int stirringTime;
};
Usually in my tasks, we use int
and not struct
. That is why I have problems with my delete function:
Using int :
int delQ(Queue &Q) // => return int
If I make:
struct delQ(Queue &Q) // => what do i return?