Nsound  0.9.4
Functions
test_rng.cc File Reference
#include <Nsound/NsoundAll.h>
#include "Test.h"
#include <ctime>
#include <iostream>
Include dependency graph for test_rng.cc:

Go to the source code of this file.

Functions

int main (int argc, char **argv)
 

Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 44 of file test_rng.cc.

References Nsound::RngTausworthe::get().

45 {
46  RngTausworthe rng;
47 
48  for(uint32 i = 0; i < 100; ++i)
49  {
50  cout << rng.get(0, 10) << endl;
51  }
52 
53  return 0;
54 }
unsigned int uint32
Definition: Nsound.h:153
uint32 get()
Get a random number.