Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- /* run this program using the console pauser or add your own getch, system("pause") or input loop */
- int main(int argc, char** argv) {
- int *tablica;
- int length = 10000;
- int x = 0;
- int i = 1;
- do{
- int *buff = new int[length];
- cout << i << endl;
- i++;
- } while (x = 1);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment