Home > Articles > Programming > C/C++

  • Print
  • + Share This
This chapter is from the book

How to Break It

In this book, I’m going to have a small section for each program teaching you how to break the program if it’s possible. I’ll have you do odd things to the programs, run them in weird ways, or change code so that you can see crashes and compiler errors.

For this program, simply try removing things at random and still get it to compile. Just make a guess at what you can remove, recompile it, and then see what you get for an error.

  • + Share This
  • 🔖 Save To Your Account