A little help with vectors please

Hi friends,

i need a little help on vectors.
In general_work(int noutput_items,gr_vector_int
&ninput_items,gr_vector_const_void_star &input_items,gr_vector_void_star
&output_items)
how can I access the elements of the second or later input stream. If
there
is one stream I know how to do it. But I do not know how to access the
elements from
an array of vectors.

Please help me on this. I looked for the answer on google but couldn’t
find
any.
Thanks
Ali

On Sat, Sep 27, 2008 at 08:49:53PM -0500, Murtuza wrote:

Hi friends,

i need a little help on vectors.
In general_work(int noutput_items,gr_vector_int
&ninput_items,gr_vector_const_void_star &input_items,gr_vector_void_star
&output_items)
how can I access the elements of the second or later input stream.

Try subscripting with […]

If there is one stream I know how to do it. But I do not know how to access the
elements from
an array of vectors.

Please help me on this. I looked for the answer on google but couldn’t find
any.
Thanks
Ali

Take a look at gr_float_to_complex.cc

Eric