Hi everyone . I am a newbie in programming , so i would be very grateful if you could help me . I have to implement the Blum Blum Shub in C or C++ using the stdlib.h and time.h libraries . Can anyone help me with this ?
"the debugger doesn't tell me anything because this code compiles just fine" - random QA comment
"Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst
"I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle
No idea, because we do not have the instructions that your teacher gave you. If you read the documentation for the random and time functions (time, _time32, _time64 | Microsoft Docs[^]) you should be able to decide how they can help you.
Here's the full indications that i have :
Purpose: to develop a function that generates random numbers from
a given range.
Elaboration of the module for generating random numbers
C or C++ compiler
stdlib.h and time.h libraries
Algorithm Blum Blum Shub