Creating a Circular Buffer in C and C++ | Hacker News Reader