Generate binary numbers from 1 to any given number, “n”, using a queue.
List<string> GenerateBinaryNumber(int n)
n = 1 => (1)
n = 3 => ( 1, 10, 11)
Assuming …
Read MoreThis is a note to myself. I recently had to write this code for the third time in my life in the last 11 years because I did not save it somewhere consumable. So putting it on my blog for …
Read MoreFor many C++ developers, API Design probably makes number 3 or 4 on their priority list. Majority of developers flock to C++ for the raw power and control it provides. Consequently, performance and optimization is what occupies the thoughts of …
Read MoreWhat is an Application Binary Interface ?
According to Wikipedia, ” an application binary interface (ABI) is an interface between two binary program modules; often, one of these modules is a library or operating system facility, and the other is …
Read MoreShould you distribute your C++ API as a static or dynamic library ? The answer to that question is not straightforward and will depend on a number of factors like: