就这个老提示warning C4518: 'int ' : storage-class or type specifier(s) unexpected here
#include <stdio.h>void main()
{
int nMiMa,int k;
panduan: printf("\n\n\t\t\t请输入管理员密码:");
scanf("%d",&nMiMa);
k=mima(int nMiMa);
switch (k)
case 1:printf("您已成功登录到该系统,祝您使用愉快");break;
case 2:printf("啊哦~~~,亲,您输错了,请重新输入");goto panduan;break;
default :break;
}
int mima(int k)
{
int a=123456,b;
if(k=a)
b=1;
else
b=0;
return(b);
}