Home > Software engineering >  Save me, dozen don't open source file, but also need to define the stream class
Save me, dozen don't open source file, but also need to define the stream class

Time:11-15

I will learn to C and C + +, save the children

CodePudding user response:

Try # include & lt; Iostream. H>

# include "XXX" XXX must be in the current project directory
#include XXX can compile environment can identify directory

CodePudding user response:

#include//not. H
The use of cin, cout, endl needs to contain namespace using namespace STD. Every time or use the specified STD: : cin STD: : cout
  • Related