Running:

ifstream fin1;

results in the following error message:

error C2371: 'fin1' : redefinition; different basic types

Your help please.