R
ragi
Short version of my program:
ifstream File;
File.open("test.txt");
if(!File.good()) return;
Func(File); <--cannot convert parametr 1 from 'std::ifstream' to
'std::istream'
and declaration is:
bool Func(std::istream);
What should I do to solve these problem ?
ifstream File;
File.open("test.txt");
if(!File.good()) return;
Func(File); <--cannot convert parametr 1 from 'std::ifstream' to
'std::istream'
and declaration is:
bool Func(std::istream);
What should I do to solve these problem ?