Longwords

Game design, programming, and more, written by a human being

Error handling using forever-loop

Error handling using forever-loop

Handling errors in C and C++ leads to messy code so it's often left out of code samples. Here's a technique I've found that leads to better error-handling that's easy to read and understand.

Read More