Ok so I'm in school learning C right now, we use Ubuntu for the C and compiling and I got bored the other day so I got ahead of the class and I am working on making a guessing game program, I made on in VB once and it was easy and now I'm trying it in C and I got most of it fine but now I need to make it so it generates a random number as the variable "a"
I have it set right now so a=43 and the program is working now I just need to make a the random number that it generates however after some looking around I'm not sure what to do, I have tried a couple of codes but they haven't worked. Anyways if anyone could help me out with this it would be awesome!
Thanks
~Pink Bandanna Guy~



LinkBack URL
About LinkBacks



