Liverek

dasdasd

Apr 10th, 2019
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.36 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4. /* run this program using the console pauser or add your own getch, system("pause") or input loop */
  5.  
  6.  
  7. int main(int argc, char** argv) {
  8.  
  9.     int *tablica;
  10.     int length = 10000;
  11.     int x = 0;
  12.     int i = 1;
  13.  
  14.         do{
  15.             int *buff = new int[length];
  16.             cout << i << endl;
  17.             i++;
  18.         } while (x = 1);
  19.  
  20.    
  21.  
  22.     return 0;
  23. }
Advertisement
Add Comment
Please, Sign In to add comment