CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Search found 2 matches
CCS Forum Index
Author Message
  Topic: Rand() returns same values
Alvaro

Replies: 2
Views: 17764

PostForum: General CCS C Discussion   Posted: Fri Nov 07, 2008 2:00 pm   Subject: THANKS
Thank you very much,
I took the link: http://www.ccsinfo.com/forum/viewtopic.php?t=1313
Works!!!
  Topic: Rand() returns same values
Alvaro

Replies: 2
Views: 17764

PostForum: General CCS C Discussion   Posted: Fri Nov 07, 2008 1:24 pm   Subject: Rand() returns same values
Hi, I do not have a good English, I occupy a translator.

I'm doing a game of dices, but the function Rand () always returns the same values, in C we can occupy srand (time ()) with time() but in P ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group