Category "fstream"

Modes in fstream referring to two different sets ios and fstream for the same thing(in my opinion)

What is the difference between these two lines in file management in C++? fstream fin("project.csv",fstream::in); fstream fin("project.csv",ios::in);

I have to put an alphanumeric password in a text file

Here's the code: #include <iostream> #include <fstream> #include <string> #include <cstdlib> #include <ctime> #include <windows