0

I have finished the breakout and it can be compiled. However, when I execute it, "segmentation fault(core dumped)" appears. I test the code block by block and find the code below generate the problem but I can not find what is wrong with this.

I put the code on the "https://i.stack.imgur.com/lFupo.jpg".

1

1 Answer 1

1

In fact, I miss to check whether the object equals NULL.

You must log in to answer this question.