istream and ostream problem – C++
Make sure you include fstream. Also, put “std::” before ostream or put “using namespace std” somewhere. It would help if you posted the code, as right now I’m just guessing based on common mistakes. I would guess you forgot to include fstream because different compilers may use different header files and it may be the … Read more