

CodePudding user response:
Try # include & lt; Iostream. H># include "XXX" XXX must be in the current project directory
#include
CodePudding user response:
#includeThe use of cin, cout, endl needs to contain namespace using namespace STD. Every time or use the specified STD: : cin STD: : cout