Returning multiple values from functions in C++ | Hacker News Reader