I have two classes in C++ - Vector and VectorFile (which inherits from Vector class). While creating VectorFile class I got error: Expected class name, so the compiler can't see Vector class in VectorFile.h, although I have included it.
VectorFile.h:
#include<iostream>
#include "Vector.h"
using namespace std;
class VectorFile : public Vector{
public:
    ostream &operator << (ostream &output, Vector &V);
    istream &operator >> (istream &input, Vector &V);
};
Vector.h:
#include<iostream>
using namespace std;
template<typename type>
class Vector{
protected:
    type *data;
    size_t allocatedDataSize;
    size_t usingDataSize{};
public:
   
    Vector();
    Vector(size_t usingDataSize);
    ~Vector();
};
 
     
    