Another reason you should provide all the information you can when asking a question. Let me recommend Smart Questions
With Dev-Cpp the program does indeed crash at 800 x 800. Dev-Cpp (gcc family, perhaps I should say) doesn't seem to offer an option for controlling the amount of stack allowed. Perhaps you should try allocating on the heap, as virtual memory in decent OSes tends to make the amount available unlimited (well, limited by disk size).
You're certainly entitled to prefer non-proprietary tools, but sometimes you just get fewer amenities and capabilities. I never could convince ex-wife #2 that a high-heeled shoe wasn't really the best hammer.