Project:PizzaPrinter: Difference between revisions
From London Hackspace Wiki
→queue
(→bind) |
(→queue) |
||
Line 116: | Line 116: | ||
int arr[] = pr.queue(); | int arr[] = pr.queue(); | ||
for(int i=0; i<arr.size(); i++) | for(int i=0; i<arr.size(); i++) | ||
print "Pizza id = " + arr[i] + " is the " + i + " in the queue for " + ''printerID''+ "\n"; | print "Pizza id = " + arr[i] + " is the " + i + " in the queue for " + ''printerID'' + "\n"; | ||
=== Pizza object === | === Pizza object === |