Advertisement
pan7nikt

a

Mar 11th, 2020
232
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. #include <iostream>
  2. #include <cstdlib>
  3. #include <time.h>
  4. using namespace std;
  5.  
  6. int znak[6];
  7.  
  8. void losowanie(int l)
  9. {
  10. znak[l] = rand()%126;
  11. }
  12.  
  13.  
  14. main()
  15. {
  16. srand(time(NULL));
  17. cout << rand()%256;
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement