Tag Archive for Errors

C++ errno Values

For those of you wanting to know what exactly the numbers that errno is set to correlate to, I have listed them below: (this way you can set errno and then when someone uses strerror(errno) they'll get the right error)

Read more

Make A Custom, File Oriented Debugger!

My logging function looks like this, it's very handy (especially since my server automation programs run for no more than a few seconds). It basically appends the error to the file saying what time the error occurred, what the error is, and the name of the exe that generated the error (pulled from argv so even when the exe is renamed it is still accurate).

Read more