Reading through www.wildbunny.co.uk/blog/2012/11/01/10-steps-to-becoming-a-better-programmer/ got me thinking about what I do right/wrong wh...
C -> Strcpy vs Memcpy for copying a string
Was wondering which was quicker - strcpy is nearly twice as fast as memcpy: #include <stdio.h> #include <string.h> #include ...
C -> Finding all occurences of a character in a string
The algorithm may not be the most effecient - O(n^2) - but I whipped it up quickly and it works. I also wanted to play around with the memse...