Another file compiles
[iotcloud.git] / version2 / src / C / Random.h
1 #ifndef RANDOM_H
2 #define RANDOM_H
3 #include <stdlib.h>
4 class Random {
5 public:
6         Random();
7         int32_t nextInt() {
8                 return random();
9         }
10         int32_t nextInt(int32_t val) {
11                 return random() % val;
12         }
13 };
14 #endif