cout is not a member of std October 8, 2022 by Tarik add #include <iostream> to the start of io.cpp too.