c programming + All
Monday, July 4, 2011
How to I generate random numbers in C++?
#include
#include
using namespace std;
int main()
{
int random_integer = rand();
cout << random_integer << endl;
}
No comments:
Post a Comment
Newer Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment