C++ – how to read a file into a string | Hacker News Reader