*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.