why is string not declared in scope August 6, 2023 by Tarik You have to use std::string since it’s in the std namespace.