#ifndef _TVRAND_H_ #define _TVRAND_H_ #include #include inline random(int n) { return rand() % n; } inline randomize() { srand(time(0)); } #endif