Why does this C++ program produce so many errors? | Dark Hacker News