Posts

Showing posts from November, 2017

Quee

What is Quee? for you who study in Informatics Engineering, Computer Sciency must have known about Quee, mustn't you. Ya.., Quee menggunakan konsep antrian FIFO (Fisrt in First Out), contoh real is easy..lihat antrian pembelian tiket kereta api yang manual ya..itu konsep Quee. Berikut diberikan contoh implementasi program Quee di C++ dengan method untuk AddQuee, DeleteQuee, DisplayElement, DisplayHeadTail. Materi lengkapnya sudah ane share buat para mahasiswa karyawan ya..coba di learnt, and discuss dipertemuan berikutnya jika ada yang didiskusikan, Now..here is the code please code manually, don't copy and paste :) to make us more understand about the code. #include <iostream> using namespace std; struct node{   int data;   node *next; }; class Queue{   private:     node *head;     node *tail;   public:     Queue();   void AddQueue(int i);   void DelQueue();   void CetakElement();   void CetakHeadTail(); }; Queue::Queue() {   head = NULL;   tail = NULL; } void Queue::