prog.cpp: In function ‘int main()’:
prog.cpp:5:11: error: elements of array ‘std::ifstream in [3]’ have incomplete type
ifstream in[3];
^~
prog.cpp:5:11: error: storage size of ‘in’ isn’t known
prog.cpp:8:20: error: invalid use of ‘this’ in non-member function
in[i].open(this->Files.setFiles[sources[i]]);
^~~~
prog.cpp:8:41: error: ‘sources’ was not declared in this scope
in[i].open(this->Files.setFiles[sources[i]]);
^~~~~~~
prog.cpp:9:21: error: ‘positions’ was not declared in this scope
in[i].seekg(positions[sources[i]], ios::beg);
^~~~~~~~~
prog.cpp:11:14: error: aggregate ‘std::ofstream out’ has incomplete type and cannot be defined
ofstream out;
^~~
prog.cpp:12:14: error: invalid use of ‘this’ in non-member function
out.open(this->Files.setFiles[indexFileForMerge]);
^~~~
prog.cpp:12:35: error: ‘indexFileForMerge’ was not declared in this scope
out.open(this->Files.setFiles[indexFileForMerge]);
^~~~~~~~~~~~~~~~~