Shoot, mistook an earlier post by Barney McGrew as being one of the OP's and, well, guess I thought he was being complacent and whatnot...my apologies!
Type: Posts; User: Sebastiani
Shoot, mistook an earlier post by Barney McGrew as being one of the OP's and, well, guess I thought he was being complacent and whatnot...my apologies!
Yes, but constants also come in the form of actual variables, which obviously can't be examined by the preprocessor. Either way, ASSERTS ARE STRICTLY FOR DEBUGGING and should ALWAYS be disabled in...
Okay, so useless to everyone but libc maintainers...
Have you even begun to address the BUGS that were pointed out earlier, or are you just too busy patting yourself on the back right now?
No, constants are a precisely what asserts were designed for! But you are right that a compile-time check is much more useful. At any rate, the code as it stands is quite literally a segfault waiting...
The style is good enough, but there are some pretty glaring logic errors. Besides that, the coding just seems sort of mediocre or uninspired in general, honestly. I would suggest a bit more...