Ceriwis

Ceriwis (https://forum.ceriwis.com/forum.php)
-   Programming (https://forum.ceriwis.com/forumdisplay.php?f=63)
-   -   [ask] nih dequeue mana yg error (https://forum.ceriwis.com/showthread.php?t=538685)

Braincode 11th November 2011 01:59 PM

[ask] nih dequeue mana yg error
 

gan gw mw nany nih ..

gw ada tugas tentang queue nih nah yg gw tanyain


Code:

void dequeue()
{
if(rear!=NULL)
{
phapus = front;
elemen = front->info;
if(front == rear)
{
front = NULL;
rear = NULL;
}
else
{
front=front->next;
free(phapus);
}


}
}

kok code diatas error yah ...

ada yg bisa bantu kasi pencerahan gk :p

</div>


All times are GMT +7. The time now is 01:15 AM.