hi there
i am currently programming a simple dice game in c and i am using win2k and djgpp (it works *g*).
my problem is: i am not really sure how the random function works or is there none in c?
i want to roll two dices, every one with 6 sides (from 1 to 6). the random function must roll the two dices and print out something like "dices=dice1+dice2"...
can someone help me? thanks in advance!