why is string not declared in scope

You have to use std::string since it’s in the std namespace.

Leave a Comment