i get this error message for each of these lines when i try to run the program. i have no idea what it means. what am i doing wrong? there is a data file elsewhere in the program, and i'm reading info from that, and one column is numbers from 0-6. each of those corresponds to a name, which is what this function is supposed to do, equate the number to the family name. here's the portion of the code that's getting error
Code:
string familyName( int familyCode )
{
int n;
inFile>>n;
switch (n)
{
case 0:
	0=Drake;
	break;
case 1:
	1=Spencer;
	break;
case 2:
	2=Morgan;
	break;
case 3:
	3=Corinthos;
	break;
case 4:
	4=Webber;
	break;
case 5:
	5=Quatermaine;
	break;
case 6:
	6=Davis;
	break;
}
}