//************************************** // Name: Random number techniques // Description:This code prints random numbers using two different functions. // By: Mike Smith // // // Inputs:None // // Returns:None // //Assumes:None // //Side Effects:None //************************************** #include <iostream> #include <linux/random.h> using namespace std; int main(void) { std::cout << random() << endl; std::cout << rand() << endl; }