I am having a problem with inputs.
I can get the input using the cin command but i want to use the input to open a file with the inputs name
ie the user types in FRED.
cin>>name
i want to open a file called fred.txt
ifstream in("name.txt");
the above will open a file called name not fred
Does anyone know where I am going wrong