Home > Back-end > How to settle this error for a great god
How to settle this error for a great god
Time:09-21
As shown in figure I wanted to design a registration and landing procedures but after enter the user name error when
CodePudding user response:
Post code out to know why
CodePudding user response:
No code, no truth
CodePudding user response:
Fun2 (char * c, char * d, char * u) {int I; Char STR [4]={0}; Char on STC [4]={0}; Char a [8], [6] b; Srand ((unsigned) time (NULL)); for(i=0; i<4. I++) STR=[I] '0' + rand () % (' 9 '-' 0 '); Printf (" your verification code to: % s \ n ", STR);
C=NULL, d=NULL, u=NULL; The scanf (" % s ", & amp; C); The scanf (" % s ", & amp; D); The scanf (" % s ", & amp; U);
If (STRCMP (u, on STC & gt; 0) Printf (" verification code error \ n "); return 0; If (STRCMP (a, c).=0 | | STRCMP (b, d)!=0) Printf (" the user name or password mistake \ n "); System (" exit "); return 0; }