i want to learn how to do random numbers i know that is completly wrong but how would i make a=a random number?Code:#include<iostream> using namespace std; int main() { int a; a=random; cout<<a<<endl; return 0; }
i want to learn how to do random numbers i know that is completly wrong but how would i make a=a random number?Code:#include<iostream> using namespace std; int main() { int a; a=random; cout<<a<<endl; return 0; }
Last edited by makveli; 11-11-2003 at 10:08 AM.