Author |
Message |
Topic: change RAND_MAX |
puffeltje
Replies: 3
Views: 10649
|
Forum: 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
|
Forum: 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.
... |
|