If questions are not allowed then I would suggest the code example's usefulness to some may be diminished.counting_pine wrote:
... the Tips and Tricks subforum used to be subtitled: "Source-code only - please, don't post questions here."
Also I have found it interesting when others add their own versions of the same piece of code for comparison or should they make it a "new topic" every time so as not to hijack the thread?
Explaining how the code works or how to use it would be very helpful but rarely done.
Often teach yourself programming books have tips, tricks and hints and I think the use and scope of such snippets are clear.
https://www.cprogramming.com/tips/
https://www.techbeamers.com/top-c-progr ... s-for-you/