Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const int DIM = 50;
- D *vett[DIM];
- srand(111222333);
- float somma = 0;
- for (int i=0; i<DIM; i++) {
- vett[i] = new D((float)rand()/RAND_MAX);
- cout << i << *vett[i] << endl;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement