View Single Post
Old Mar 22nd, 2008, 1:26 PM   #6
joeserhal
Newbie
 
Join Date: Feb 2008
Posts: 18
Rep Power: 0 joeserhal is on a distinguished road
Re: How to name queues using a "for" loop??

Yup, I've attached them...To tell you the truth, I don't know how I didn't think about using an array for creating the qeues, I think I was so focused on naming the queues individually (q0, q1, q2....) that I forgot I could just easily store them in one array and then reference them using a particular index....
Attached Files
File Type: c queue.c (1.2 KB, 3 views)
File Type: h queue.h (327 Bytes, 3 views)
joeserhal is offline   Reply With Quote