And one of the ways you can make a program crash, intentionally or not, is to essentially use up too much memory or call too many functions and what happens is, bam, one hits the other and bad things happen.
其中一个方式能使你的程序崩溃掉,有意或无意的,它本质上使用了太多的内存,或者调用了太多的函数,所发生的,崩掉,一个冲突了另一个,然后发生了坏事情。
What I don't want your program to do is crash when that happens. Or run forever.
当这种问题出现时程序崩溃,或者一直运行下去。
I can certainly try to write the number 13 there, but bam, my program very likely will crash if this chunk of memory was not given to me previously by the operating system and maybe it is owned by the operating system.
我当然可以在那里写下数字13,但是“嘣“,如果这块内存不是系统预先给我的,我的程序很可能会崩溃,可能这块内存,是系统本身使用的。
应用推荐