Sieve of Eratosthenes in C++

Updated June 8th, 2017. This post was introduced to the Redditย /r/cpp soon after I posted and immediately got a feedback saying "both semantically wrong as well as poorly optimized" which is quite true. ๐Ÿ™‚ ย So I'd like to recommend visiting the Reddit link and consider the comments before preceding or even better, refer to the … Continue reading Sieve of Eratosthenes in C++