Run Code | API | Code Wall | Misc | Feedback | Login | Theme | Privacy | Patreon |
How do I get a specific range of numbers from rand()?Error(s): source_file.c: In function ‘nextInt’: source_file.c:13:26: warning: implicit declaration of function ‘next’ [-Wimplicit-function-declaration] return n * (long)next(31) >> 31; ^ /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crt1.o: In function `_start': (.text+0x20): undefined reference to `main' /tmp/ccKMi5Ww.o: In function `nextInt': source.c:(.text+0x28): undefined reference to `next' source.c:(.text+0x48): undefined reference to `next' collect2: error: ld returned 1 exit status |
λ
.NET NoSQL database for rapid development
|