discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] A little help with vectors please


From: Eric Blossom
Subject: Re: [Discuss-gnuradio] A little help with vectors please
Date: Sat, 27 Sep 2008 19:13:14 -0700
User-agent: Mutt/1.5.18 (2008-05-17)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]