[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] random number coding problem
From: |
CEL |
Subject: |
Re: [Discuss-gnuradio] random number coding problem |
Date: |
Wed, 30 May 2018 14:19:56 +0000 |
Hi!
So, I'm really not sure how to help you here: I have to expect you to
be able to call a function in C++ to give you value. The level of
understanding necessary to transfer my example to replace your usage of
rand() in your code isn't really high.
Maybe you'd want to read a good C++ introductory book first[1]? That
will greatly accelerate your success!
Best regards,
Marcus
PS: having a screenshot of source code is always less comfortable to
the reader than just having the source code as text; just use copy and
paste.
[1] https://stackoverflow.com/questions/388242/the-definitive-c-book-gu
ide-and-list
On Wed, 2018-05-30 at 22:31 +0900, 김무연 wrote:
> Hi all
> I was trying to make a block
> which acts if input is 1,then output is random number and if input is 0, then
> output is the same previous time
> So last time I asked what should I use instead of rand()
> I tried to program as you told
> But I think there is something I didn't understand
> I post a picture of my screen
> So could you give me some advices?
> Thanks
>
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
smime.p7s
Description: S/MIME cryptographic signature