I recently had an assignment to write a program generating a deck of cards and shuffling them. In c language. I wrote the code on Dev-C++ initially but I could not get the random generator to work . Then I read that c does not have a random number generator only c++. But I copied the code on borland as a c file and everything worked fine. So my question is if its true that c does not have random? If not is there anyway to get around it or maybe another way to generate randoms, or am I stuck doing these assignments on borland?