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: change RAND_MAX
puffeltje

Replies: 3
Views: 10649

PostForum: General CCS C Discussion   Posted: Sun Sep 28, 2014 5:02 am   Subject: change RAND_MAX
Thanks, i'm going to implement this solution.

I also did a search on the internet and found this solution:
I=rand() % 26;
It does the job, but i can't find '%' in the helpfiles of CCS. Is ...
  Topic: change RAND_MAX
puffeltje

Replies: 3
Views: 10649

PostForum: General CCS C Discussion   Posted: Sun Sep 28, 2014 3:52 am   Subject: change RAND_MAX
Hi,

I'm totally new to the language C. I always programmed in basic.
I want to change the value of RAND_MAX. At the moment i have defined it before including <STDLIB.H>. This works well.
...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group