/**************************************************************** Copyright (C) : University of Michigan Project: ENG101/200 - Class example File: randTrill.cpp Purpose: An example of the rand() function Compiler: g++ Programmer: Alex Bielajew Start Date: 09/26/2013 ****************************************************************/ /* Remarks: How fast can you trill? See how many times you can quickly execute this and get the same starting seed! Ben Baumgarten, GSI for Fall 2013 is first to claim the new record of 9 in one second (proved it with a screen shot). Wow! */ //File: randTrill.cpp #include #include // Need this for the rand() and srand() functions #include // Need this for the time() function using namespace std; int main(void) { int epoch = static_cast(time(NULL)); cout << "Starting seed = " << epoch << endl; return 0; }