Home > Software engineering >  Header file defines repeat the question? O solve
Header file defines repeat the question? O solve

Time:12-28

I built a class, you need to use the container, in the "line. H" defined in the
# pragma once
#include
using namespace std;
The class line
{}
Another class then I call the # include "line. H", also need to use the container, and defines the
#include
using namespace std; Header file is how to solve this conflict?

CodePudding user response:

# pragma once is doing this
  • Related