I'm a beginner here. I don't know where to ask this!
I wrote a program and when I run it for big times, for example happening an event for an hour, or for big network sizes, the program starts working and after a few minutes returns:
"This application has requested the runtime to terminate it in an unusual way"
"process returned 3 <0x3>"
I've tried it on a different powerful hardware and it returns the same!
I use windows 7, 64 bit and codeblocks 10.05.
I think the value of calculations may cause this but can't reduce my calculations. Maybe a way to increase the calculations capacity was useful.
Thanks for help :)
• Buffer overflow
• Stack overflow
• Range overflow
"This application has requested the runtime to terminate it in an unusual way" is a sign that the application has thrown an exception, which went uncaught; thus, the system sent a signal to your program requesting its termination. This normally happens when you either write to invalid/unowned memory, dereference a null-pointer, or throwing an exception, but not catching it.
@framework I have attempted that. when i use debug, the program goes well to the end of its time loop, but it gives no output. I've checked all my program and it seems to be ok! For any exception, I've set an IF that after some loops, if it doesn't reach the point, loop ends!
any other way?!