1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

Problem with naming queues

Discussion in 'C' started by joeserhal, Mar 22, 2008.

  1. joeserhal

    joeserhal New Member

    Hi there,
    I'm facing some trouble with creating and naming queues in C language.
    I need to create five queues using a "for" loop, and with each iteration of the "for" loop, a created queue will be given a name depending on the index of the iteration. It should look like something like this:

    q(i) = CreateQueue(size 2);
    At the first iteration, I should get a queue called q0 or something, then q1....

    I need this because, at a later stage in my program, i need to access,through a "for" loop, a particular queue depending on the index of the iteration.

    Does anybody know how i can do this??....
  2. lead.smart34

    lead.smart34 New Member

    i feel whatever you did is fine

Share This Page