U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ Core » random functions proposal
Re: random functions proposal [message #35146 is a reply to message #35139] Tue, 17 January 2012 09:56 Go to previous messageGo to previous message
ratah is currently offline  ratah
Messages: 107
Registered: July 2010
Experienced Member
Thank you for your reply,

Dolik.rce, I aggree with you for the use of cos and dword conversion. The idea of scaling is because I do not know it is possible to pass a parameter to Random(). So I could not limit the max value I get with Random().

Dolik.rce, Sender Ghost, all of your solutions are OK.
Why not to introduce that usefull function into Core?

Best regards,

Ratah

[Updated on: Tue, 17 January 2012 10:21]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Init a ctrl inside INITBLOCK
Next Topic: problem with new and delete
Goto Forum:
  


Current Time: Sun Apr 26 20:30:30 GMT+2 2026

Total time taken to generate the page: 0.00790 seconds