- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
3 Posted Topics
[code] #include<iostream.h> #include<conio.h> #include<iomanip.h> #include<stdio.h> #include<stdlib.h> #include<fstream.h> #include<string.h> int n=0; // current no. of players ( to add to next one) int num=0; // total number of players class date { public: int dd; int mm; int yy; }; class players { public: char name[30]; date dob; char userid[30]; char … | |
Re: #include <iostream.h> #include <time.h> #include <stdlib.h> int main() { srand((unsigned)time(0)); int random_integer; int lowest=1, highest=10; int range=(highest-lowest)+1; for(int index=0; index<1; index++){ random_integer = lowest+int(range*rand()/(RAND_MAX + 1.0)); } cout << random_integer << endl; int user_guess; cout << | |
Turbo C++ gives an error saying "BGI graphics are not supported under windows". Please help me out... |
The End.