My code doesn't want to crash!

Hi!

I have got problem, that my code doesn’t want to crash. I tried to put shorter word, but it still runs normally. I use Xcode 9.3.1.

Thank you!

Link to code: https://github.com/MihaMarkovi/CowsAndBulls

1 Like

Your code is crashing perfectly fine on my machine :grin:
I guess the reason could be that you are working a Mac and the memory management / protection / whatever might be different.
You could try to type something really long, like a couple of lines and see if it’s crashing then.

If you can’t make it crash, don’t bother, just go on with the course. As a C++ programmer you’ll be fighting crashes often enough in the future anyway :wink:

1 Like

Privacy & Terms