Hey everyone,
I haven't programmed in quite some time and was trying to get back into it. So I wrote a small tester program that's already giving me an issue:

Code:
int* arr = new int[10];

for (int i = 0; i < 10; ++i)
        arr[i] = i * 2;

for (int i = 0; i < 10; ++i)
        cout << arr[i] << endl;

arr++;
	
delete [] arr;
When I debug this, arr has 4 added to it (correct) and *arr equals the next element up (correct), but I'm getting an assertion error. Any insight into this crazy stuff?

Thanks a lot!