Sep 17, 2013 at 8:49pm Sep 17, 2013 at 8:49pm UTC
My code is compiling successfully but immediately after that I'm getting the message "Process exited with return value 3221225725".
The code is working fine in ideone.com
What should I do?
Thank you for your help in advance.
Apurva Kumar
Sep 18, 2013 at 1:00am Sep 18, 2013 at 1:00am UTC
can you give us the code?
Sep 18, 2013 at 12:03pm Sep 18, 2013 at 12:03pm UTC
I'd guess that the needed stack size exceeds the actual stack size.
~ 4 MB for the arrays
Sep 18, 2013 at 12:16pm Sep 18, 2013 at 12:16pm UTC
That's obvious, like coder777 said, you're using too much memory on the stack.
Try allocating them on the heap, or reduce their size.
Edit: On a second note, consider upgrading IDE. This may help you with other (future) problems you may find. Not with this one problem tho.
Last edited on Sep 18, 2013 at 12:19pm Sep 18, 2013 at 12:19pm UTC
Sep 18, 2013 at 12:24pm Sep 18, 2013 at 12:24pm UTC
Thank you very much everyone for the quick response.
:-)