hey im using dev c++ and turbo c++ at school and i made a program at school and tried to use it at home and it didnt work the error said that the random function didnt work. so i need help. by the way i already made a thread to this but no one answered, i guess its because my subject diddnt seem so interesting to people.
Here is the portion of my code that contains the random function
please if u have used dev c++ before and know even the tiniest bit of info that could help me please do.Code:clrscr(); randomize(); while(c!=0) { cout<<"You have "<<points<<" points"<<endl; cout<<lives<<" lives remaining"; cout<<"Enter your guess NOW!"<<endl; cin>>x; a=random(10); //the code doesnt end here so its not like its missing brackets or //anything
Thanks-in advance