yeah fin is nowhere to be found but anyway thanks
*sigh* If you actually bothered to read the results you were getting about std::fstream, you'd understand.
std::fstream is a type.
fin is just the name of a variable of type std::fstream. Whoever wrote that bit of code could have given that variable any name - it was just their choice to call it fin.
Maybe to prevent confusion we should rename it. How about this?
std::fstream ProgramMaster("script.txt", std::ios::in);
throw std::string("Unable to load the database: script.txt");
Although maybe 'fin' stood for something like 'file in'?
Last edited on
Alright thank you i understand know thanks for the help