Debug/AFG.exe :fatal error LNK1169:one or more multiply defined symbols found#include void main(){int a,b;int *pointer_1,*pointer_2;a=100;b=10;pointer_1=&a;pointer_2=&b;printf("%d,%d\n",a,b);printf("%d,%d\n",*pointer_1,*pointer_2);}c的程序在vc++
来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/06 03:43:40
Debug/AFG.exe :fatal error LNK1169:one or more multiply defined symbols found#include void main(){int a,b;int *pointer_1,*pointer_2;a=100;b=10;pointer_1=&a;pointer_2=&b;printf("%d,%d\n",a,b);printf("%d,%d\n",*pointer_1,*pointer_2);}c的程序在vc++
Debug/AFG.exe :fatal error LNK1169:one or more multiply defined symbols found
#include
void main()
{
int a,b;
int *pointer_1,*pointer_2;
a=100;b=10;
pointer_1=&a;
pointer_2=&b;
printf("%d,%d\n",a,b);
printf("%d,%d\n",*pointer_1,*pointer_2);
}
c的程序在vc++中就出现这种情况.如何在VC中正确的执行
Debug/AFG.exe :fatal error LNK1169:one or more multiply defined symbols found#include void main(){int a,b;int *pointer_1,*pointer_2;a=100;b=10;pointer_1=&a;pointer_2=&b;printf("%d,%d\n",a,b);printf("%d,%d\n",*pointer_1,*pointer_2);}c的程序在vc++
语法没有问题,可能是VC++的原因,你新建一个项目,把代码复制过去试试