Page 1 of 1

How to generate random numbers with the AI-Deck in C?

Posted: Fri Jan 07, 2022 5:51 pm
by emiliodc
Hello, I would like to generate random numbers on the AI-Deck, and I tried using random() from stdlib.h, but this throws an error at compilation. What should I do?

Re: How to generate random numbers with the AI-Deck in C?

Posted: Mon Jan 10, 2022 10:34 am
by kimberly
Hi!

Somebody had a similar question recently: viewtopic.php?t=5206

You should probably double check if you need to add any external library. Also double check if this question has also been notified on the gap_sdk issue list

Please copy paste the actual compilation error in this thread, and notify which gap8 sdk you are using, as that will help us to help you further.