[原创]我的程序编译出错
#include <stdlib.h>
void main()
{
int a,ebx,esi,edx,len,eax,n;
char name[50]={0};
printf("please input your name:");
ebx=1228473093;
esi=1214452256;
scanf("%s",name);
len=strlen(name);
for(;len>=1;)
n=name[len];
{ebx=n^ebx;
esi=esi^ebx;
{if(ebx%2=0)
{ebx>>=1;
ebx=ebx^18875153;}
else ebx>>=1;}
edx=edx+1;
len=len-1;}
printf("your password is:%d\n",ebx);
printf("keyGen by roba enjoy Cracking\n");
}
错误 noname.c 16: 需要逻辑0或非0在 main 函数中