Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <unistd.h>
- char rand()
- {
- return 7; // chosen by rolling 2 dice, guaranteed to be random
- }
- void main()
- {
- while(1)
- write(1,rand,1); // avoids the overhead of printf, therefore faster
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement