one or more multiply defined symbols found.#includeint main(){int age;printf("Enter age");scanf("%d",&age);printf("g=%d",age);switch(age){case 2:case 3:printf("Enter Lower class\n");break;case 4:printf("Enter Middle class\n");break;case 5:case 6:printf("Enter Higher class\n");break;default:printf("Can't enter \n");}}就是用VC6.0做个作业时出现的问题.

问题描述:

one or more multiply defined symbols found.
#include
int main()
{
int age;
printf("Enter age");
scanf("%d",&age);
printf("g=%d",age);
switch(age)
{
case 2:
case 3:printf("Enter Lower class\n");break;
case 4:printf("Enter Middle class\n");break;
case 5:
case 6:printf("Enter Higher class\n");break;
default:printf("Can't enter \n");
}
}
就是用VC6.0做个作业时出现的问题.

一个或多个多重定义的符号