Hi, just learning c++ here and i'm having a problem with arrays.
I can't seem to make an array with more than 200,000 slots without somesort of runtime error. It compiles fine, but messes up when I try to run the program. Was just wondering if someone can figure out what i'm doing wrong.
code like this:
====================================
unsigned long int array[2000000]; //would give me an error
unsigned long int array[200000]; //won't give me an error
====================================
if anyone can help me with this i'd be very thankful.
(and no it isnt a lack of ram, i have 1gig)