Advertisement
Guest User

Untitled

a guest
Feb 26th, 2020
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.30 KB | None | 0 0
  1. #include <iostream>
  2. #include <cmath>
  3.  
  4.  
  5. using namespace std;
  6.  
  7. int main()
  8. {
  9.     int howMany = 10;
  10.     int* _howMany;  
  11.     _howMany = new int[howMany];
  12.     for (int i = 0; i < howMany; i++)
  13.     {
  14.         cout << (int)_howMany << endl;
  15.         _howMany++;
  16.     }
  17.     delete [] _howMany;
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement