SHARE
TWEET

Untitled

a guest May 20th, 2019 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. void Event::modifyCourse()
  2. {
  3.     // te co do tej pory są
  4.     /*for(int i= 0; i < bets.size(); ++i)
  5.     {
  6.         cout<<bets[i].getCourse()<<endl;
  7.     }*/
  8.  
  9.     double m =5;  //jakies pierdoly z internetu, nic nie dalo
  10.     double &a = m;
  11.     for(int i= 0; i < bets.size(); ++i)
  12.     {
  13.         a = (rand() % 50 + 11 );//nowe wartosci dla kursow
  14.         a=a/10;  
  15.         bets[i].setCourse(a);
  16.         cout<<bets[i].getCourse()<<endl;
  17.     }
  18.    
  19. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top