source:
CIVL/mods/dev.civl.com/examples/compare/queue/simple.c@
8553be8
| Last change on this file since 8553be8 was aad342c, checked in by , 3 years ago | |
|---|---|
|
|
| File size: 154 bytes | |
| Line | |
|---|---|
| 1 | #include "queue.h" |
| 2 | |
| 3 | void main(){ |
| 4 | queue_t queue; |
| 5 | int buf; |
| 6 | |
| 7 | initialize(&queue); |
| 8 | enqueue(&queue, 0); |
| 9 | dequeue(&queue, &buf); |
| 10 | freequeue(queue); |
| 11 | } |
| 12 |
Note:
See TracBrowser
for help on using the repository browser.
