Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
cola.h
00001 #include "mbed.h" 00002 00003 #ifndef COLA_H 00004 #define COLA_H 00005 00006 typedef class { 00007 private: 00008 int myqueue[]; 00009 int front; 00010 int rear; 00011 int MAX_SIZE; 00012 } cola; 00013 00014 00015 void Queue(int front, int rear); 00016 bool isFull(int front, int rear, int MAX_SIZE); 00017 bool isEmpty(int front); 00018 char enQueue(int value, int front, int rear, int myqueue[]); 00019 int deQueue(int front, int rear, int myqueue[]); 00020 char displayQueue(int front, int rear, int myqueue[]); 00021 00022 #endif
Generated on Tue Nov 21 2023 14:07:06 by
1.7.2